{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-20329","published":"2021-06-10T17:15:08.047000Z","last_modified":"2026-06-17T03:33:41.083000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-1287","CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:mongodb:*:*","part":"a","vendor":"mongodb","product":"go_driver","version_end_including":"1.5.0"}],"cpes_truncated":false,"vendors":["mongodb"],"products":["mongodb/go_driver"],"epss":{"score":0.011,"percentile":0.66601,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f6mq-5m25-4r72","ecosystem":"Go","name":"go.mongodb.org/mongo-driver","purl":"pkg:golang/go.mongodb.org/mongo-driver","ranges":[{"introduced":"0","fixed":"1.5.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0112","ecosystem":"Go","name":"go.mongodb.org/mongo-driver","purl":"pkg:golang/go.mongodb.org/mongo-driver","ranges":[{"introduced":"0","fixed":"1.5.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-20329/","html_en":"/en/cve/CVE-2021-20329/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20329","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20329"},"untrusted":{"vendor_name":"Mongodb","product_name":"Go Driver","desc_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.","affected":[{"untrusted_vendor":"MongoDB Inc.","untrusted_product":"MongoDB Go Driver","versions":[]}],"references":[{"url":"https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1","tags":["Release Notes","Third Party Advisory"]}]}}