CVE-2021-32050
published 2023-08-29CVE-2021-32050: Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published…
PriorityP342high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.49%
38.5th percentile
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).
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mongo-c-driver | < mongo-c-driver 1.18.0-1 (bookworm) | mongo-c-driver 1.18.0-1 (bookworm) |
| debian | node-mongodb | < mongo-c-driver 1.18.0-1 (bookworm) | mongo-c-driver 1.18.0-1 (bookworm) |
| debian | php-mongodb | < mongo-c-driver 1.18.0-1 (bookworm) | mongo-c-driver 1.18.0-1 (bookworm) |
| github.com | mongodb_mongo-swift-driver | >= 1.0.0 < 1.1.1 | 1.1.1 |
| mongodb | c | >= 1.0.0 < 1.17.7 | 1.17.7 |
| mongodb | c_driver | >= 1.0.0 < 1.17.7 | 1.17.7 |
| mongodb | mongodb | >= 1.0.0 < 1.9.2 | 1.9.2 |
| mongodb | mongodb | >= 3.6.0 < 3.6.10 | 3.6.10 |
| mongodb | mongodb | >= 4.0.0 < 4.17.0 | 4.17.0 |
| mongodb | mongodb | >= 5.0.0 < 5.8.0 | 5.8.0 |
| mongodb | node.js | >= 3.6 < 3.6.10 | 3.6.10 |
| mongodb | node.js | >= 4.0 < 4.17.0 | 4.17.0 |
| mongodb | node.js | >= 5.0 < 5.8.0 | 5.8.0 |
| mongodb | php_driver | >= 1.0.0 < 1.9.2 | 1.9.2 |
| mongodb | swift_driver | >= 1.0.0 < 1.1.1 | 1.1.1 |
| mongodb_inc | mongodb_c++_driver | >= 3.0.0 < 3.7.0 | 3.7.0 |
| mongodb_inc | mongodb_c_driver | >= 1.0.0 < 1.17.7 | 1.17.7 |
| mongodb_inc | mongodb_node.js_driver | >= 3.6 < 3.6.10 | 3.6.10 |
| mongodb_inc | mongodb_node.js_driver | >= 4.0 < 4.17.0 | 4.17.0 |
| mongodb_inc | mongodb_node.js_driver | >= 5.0 < 5.8.0 | 5.8.0 |
| mongodb_inc | mongodb_php_driver | >= 1.0.0 < 1.9.2 | 1.9.2 |
| mongodb_inc | mongodb_swift_driver | >= 1.0.0 < 1.1.1 | 1.1.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv7.5HIGH
vendor_debian4.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2021-32050: mongo-c-driver - Some MongoDB Drivers may erroneously publish events containing authentication-re...
vendor_debian·2021·CVSS 4.2
CVE-2021-32050 [MEDIUM] CVE-2021-32050: mongo-c-driver - Some MongoDB Drivers may erroneously publish events containing authentication-re...
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 us
OSV
CVE-2021-32050: Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application
osv·2023-08-29·CVSS 7.5
CVE-2021-32050 [HIGH] CVE-2021-32050: Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application
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 us
OSV
MongoDB Driver may publish events containing authentication-related data
osv·2023-08-29
CVE-2021-32050 [MEDIUM] MongoDB Driver may publish events containing authentication-related data
MongoDB Driver may publish events containing authentication-related data
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
GHSA
MongoDB Driver may publish events containing authentication-related data
ghsa·2023-08-29
CVE-2021-32050 [MEDIUM] CWE-200 MongoDB Driver may publish events containing authentication-related data
MongoDB Driver may publish events containing authentication-related data
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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://jira.mongodb.org/browse/CDRIVER-3797https://jira.mongodb.org/browse/CXX-2028https://jira.mongodb.org/browse/NODE-3356https://jira.mongodb.org/browse/PHPC-1869https://jira.mongodb.org/browse/SWIFT-1229https://security.netapp.com/advisory/ntap-20231006-0001/https://jira.mongodb.org/browse/CDRIVER-3797https://jira.mongodb.org/browse/CXX-2028https://jira.mongodb.org/browse/NODE-3356https://jira.mongodb.org/browse/PHPC-1869https://jira.mongodb.org/browse/SWIFT-1229https://lists.debian.org/debian-lts-announce/2025/05/msg00027.htmlhttps://security.netapp.com/advisory/ntap-20231006-0001/
2023-08-29
Published