CVE-2021-20329
Last modified
CVE-2021-20329 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.96% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Go Driver | <= 1.5.0 |
References
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1Release Notes, Third Party Advisory
- https://github.com/mongodb/mongo-go-driver/releases/tag/v1.5.1Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20329?
How severe is CVE-2021-20329?
How do I fix CVE-2021-20329?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20323A POST based reflected Cross Site Scripting vulnerability on…6.1
- CVE-2021-20324Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20325Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the v…9.8
- CVE-2021-20326A user authorized to performing a specific type of find quer…6.5
- CVE-2021-20327A specific version of the Node.js mongodb-client-encryption …6.8
- CVE-2021-20328Specific versions of the Java driver that support client-sid…6.8
- CVE-2021-2033Vulnerability in the Oracle WebLogic Server product of Oracl…4.3
- CVE-2021-20330An attacker with basic CRUD permissions on a replicated coll…6.5
- CVE-2021-20331Specific versions of the MongoDB C# Driver may erroneously p…4.9
- CVE-2021-20332Specific MongoDB Rust Driver versions can include credential…4.4
- CVE-2021-20333Sending specially crafted commands to a MongoDB Server may r…5.3
- CVE-2021-20334A malicious 3rd party with local access to the Windows machi…7.8
Are you affected by CVE-2021-20329?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
