Improper input validation in MongoDB Go Driver
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.009, 61.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- MongoDB Go Driver
- MongoDB Inc. Go Driver — versions 1.0
Weakness classification (CWE)
References
- github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1 (Third Party Advisory, Release Notes)