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.

EPSS: 0.010 (58.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-20329?
CVE-2021-20329 is a medium-severity vulnerability in Mongodb Go Driver, classified under CWE-1287. CVSS score: 6.8/10. Published 2021-06-10.
How severe is CVE-2021-20329?
Medium severity. CVSS v3 base score is 6.8 out of 10.