CVE-2021-20329

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.
References
Link Resource
https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 Release Notes Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:mongodb:*:*

History

23 Jan 2024, 16:15

Type Values Removed Values Added
Summary (en) 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 up to (and including) 1.5.0. (en) 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.

23 Jun 2021, 17:10

Type Values Removed Values Added
CWE CWE-20
CVSS v2 : unknown
v3 : unknown
v2 : 4.0
v3 : 6.5
References (CONFIRM) https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 - (CONFIRM) https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 - Release Notes, Third Party Advisory
CPE cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:mongodb:*:*

10 Jun 2021, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-06-10 17:15

Updated : 2024-01-23 16:15


NVD link : CVE-2021-20329

Mitre link : CVE-2021-20329

CVE.ORG link : CVE-2021-20329


JSON object : View

Products Affected

mongodb

  • go_driver
CWE
CWE-20

Improper Input Validation

CWE-1287

Improper Validation of Specified Type of Input