What’s Vulnerable › Vulnerabilities
CVE-2021-20329: Specific cstrings input may not be properly validated in the Go Driver
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-10 · updated 2026-06-17
- Weakness: CWE-1287
Description
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 products
- MongoDB Go Driver: through 1.5.0
References
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1
Get alerted when CVE-2021-20329 or the next vulnerability affects your stack