🛡️ CVE-2021-32050 on Debian — mongo-c-driver
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).
Distribution advisory
This page covers CVE-2021-32050 as tracked by Debian, for the package mongo-c-driver. The fix is available in version 1.18.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Weakness class
DEBIAN-CVE-2021-32050 is classified as CWE-200: Exposure of Sensitive Information. Information that should stay internal is disclosed to someone who is not authorised to see it.
Affected software
DEBIAN-CVE-2021-32050 is recorded against 3 packages.
- mongo-c-driver (fixed in 1.18.0-1)
- node-mongodb
- php-mongodb (fixed in 1.11.1+1.9.2+1.7.5-4)
Timeline and source
Published on 29 August 2023 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-32050 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| mongo-c-driver | — | 1.18.0-1 |
| node-mongodb | — | — |
| php-mongodb | — | 1.11.1+1.9.2+1.7.5-4 |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-9100
- Unknown DEBIAN-CVE-2026-6691
- Unknown DEBIAN-CVE-2026-6231
- Unknown DEBIAN-CVE-2026-4359
- Unknown DEBIAN-CVE-2025-14911
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2021-32050?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2021-32050 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.