CVE-2021-32050
No exploitation reported by the sources we read.
- Published2023-08-29
- Fixed in5.8.0 · 4.17.0 · 3.6.10
- WeaknessCWE-200 · CWE-532
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed. Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default). This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).
Timeline
dates in UTC- 2023-08-2916:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.0, < 5.8.0 | 5.8.0 | NVD |
| 5.x | ≥ 5.0.0, < 5.8.0 | 5.8.0 | OSV |
| 4.x | ≥ 4.0, < 4.17.0 | 4.17.0 | NVD |
| 4.x | ≥ 4.0.0, < 4.17.0 | 4.17.0 | OSV |
| 3.6 | ≥ 3.6, < 3.6.10 | 3.6.10 | NVD |
| 3.6 | ≥ 3.6.0, < 3.6.10 | 3.6.10 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.0.0, < 1.17.7 | 1.17.7 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.0.0, < 1.17.7 | 1.17.7 | NVD |
2 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA5 products
As mongodb, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- MongoDB Inc MongoDB C Driverother versions: not affectedAffected
- ≥ 1.0.0, < 1.17.7fixed in 1.17.7custom
- MongoDB Inc MongoDB C++ Driverother versions: not affectedAffected
- ≥ 3.0.0, < 3.7.0fixed in 3.7.0custom
- MongoDB Inc MongoDB PHP Driverother versions: not affectedAffected
- ≥ 1.0.0, < 1.9.2fixed in 1.9.2custom
- MongoDB Inc MongoDB Swift Driverother versions: not affectedAffected
- ≥ 1.0.0, < 1.1.1fixed in 1.1.1custom
- MongoDB Inc MongoDB Node.js Driverother versions: not affectedAffected
- ≥ 3.6, < 3.6.10fixed in 3.6.10custom
- ≥ 4.0, < 4.17.0fixed in 4.17.0custom
- ≥ 5.0, < 5.8.0fixed in 5.8.0custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-10-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- mongo-c-driverUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- mongo-c-driverDebian:14all versions · fixed in 1.18.0-1
- mongo-c-driverDebian:13all versions · fixed in 1.18.0-1
- mongo-c-driverDebian:12all versions · fixed in 1.18.0-1
- mongo-c-driverDebian:11all versions · fixed in 1.17.6-1+deb11u1
- mongo-expressMinimOSall versions · no fixed version listed
- mongodbTuxCare:npmfrom 2.2.36-tuxcare.0 · fixed in 2.2.36-tuxcare.6
- node-mongodbDebian:12all versions · no fixed version listed
11 more package ranges on OSV.dev
Fix
- Update Mongodb node.js to 5.8.0 · 4.17.0 · 3.6.10
Advisories and patches
- jira.mongodb.orgPatch · Vendor Advisory
- jira.mongodb.orgPatch · Vendor Advisory
- jira.mongodb.orgPatch · Vendor Advisory
- jira.mongodb.orgPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-09-30
- CNACVSS 3.14.2known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-200known since 2026-10-23
- NVDweakness (CWE)CWE-532read 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2023-08-30
Identifiers
- EUVD-2023-2367same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vxvm-qww3-2fh7same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-178same flawJulia Security Advisories · CC-BY-4.0
- MINI-xmcp-g5p7-ffr7same flawMinimOS · LicenseRef-unstated
- DLA-4175-1advisory covering several CVEsDebian · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2023-08-29
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-vxvm-qww3-2fh7
Frequently asked questions
What is CVE-2021-32050?
Is CVE-2021-32050 actively exploited?
What is the CVSS score for CVE-2021-32050?
Running MongoDB? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-24795same product
- CVE-2025-0755same product
- CVE-2024-6383same product
- CVE-2026-81525same product
- CVE-2026-93393same product
- CVE-2026-93395same product
- CVE-2024-6381same product
- CVE-2026-120678same productMongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vxvm-qww3-2fh7
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0