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

16 Sep 2024, 23: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 prior 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 Jan 2024, 16:15

Type Values Removed Values Added
Summary 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. 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.

Information

Published : 2021-06-10 17:15

Updated : 2024-09-16 23: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