CVE-2021-20329
June 10, 2021
Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshalling Go objects into BSON. A malicious user could use a Go object with specific string to potentially inject additional fields into marshalled documents. This issue affects all MongoDB GO Drivers prior to and including 1.5.0.
Affected Packages
go.mongodb.org/mongo-driver (GO):
Affected version(s) >=v0.0.0-20180720143831-95590b54cb49 <v1.5.1Fix Suggestion:
Update to version v1.5.1go.mongodb.org/mongo-driver (GO):
Affected version(s) >=v0.0.0-20180720143831-95590b54cb49 <v1.5.1Fix Suggestion:
Update to version v1.5.1go.mongodb.org/mongo-driver (GO):
Affected version(s) >=v0.0.0-20180720143831-95590b54cb49 <v1.5.1Fix Suggestion:
Update to version v1.5.1go.mongodb.org/mongo-driver (GO):
Affected version(s) >=v0.0.0-20180720143831-95590b54cb49 <v1.5.1Fix Suggestion:
Update to version v1.5.1Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
CVSS v2
Base Score:
4
Access Vector
NETWORK
Access Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.19