CVE-2021-20332
Last modified
CVE-2021-20332 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. Specific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring event that is emitted when the pool is created. The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
Specific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring event that is emitted when the pool is created. The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials. Note that such monitoring is not enabled by default. This issue affects MongoDB Rust Driver version 2.0.0-alpha, MongoDB Rust Driver version 2.0.0-alpha1 and MongoDB Rust Driver version 1.0.0 through to and including 1.2.1
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Mongodb | Rust Driver | >= 1.0.0, <= 1.2.1 | — |
| Mongodb | Rust Driver | 2.0.0 | Alpha |
References
- https://jira.mongodb.org/browse/RUST-591Patch, Vendor Advisory
- https://jira.mongodb.org/browse/RUST-591Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20332?
How severe is CVE-2021-20332?
How do I fix CVE-2021-20332?
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-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-20329Specific cstrings input may not be properly validated in the…6.5
- 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-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
- CVE-2021-20335For MongoDB Ops Manager versions prior to and including 4.2.…4.6
- CVE-2021-20336IBM Tivoli Netcool/OMNIbus_GUI 8.1.0 is vulnerable to stored…5.4
- CVE-2021-20337IBM QRadar SIEM 7.3.0 to 7.3.3 Patch 8 and 7.4.0 to 7.4.3 GA…7.5
- CVE-2021-20338IBM Jazz Foundation and IBM Engineering products are vulnera…5.4
Are you affected by CVE-2021-20332?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
