CVE-2021-32050
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).
EPSS 0.65% · 48.4th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-mongodb | 3.3.2+~3.2.7-1, 0, * |
| Ubuntu:16.04:LTS | php-mongodb | *, 1.1.5-1~build1, 0 |
| Ubuntu:Pro:20.04:LTS | mongo-c-driver | 1.15.0-1, 0, 1.15.1-1 |
| Ubuntu:22.04:LTS | php-mongodb | 0, *, 1.12.0+1.9.2+1.7.5-4 |
| Ubuntu:25.10 | node-mongodb | 3.6.4+~cs11.13.19-2, 0 |
| Ubuntu:24.04:LTS | node-mongodb | 3.6.4+~cs11.13.19-2, 0 |
| Ubuntu:25.10 | php-mongodb | 2.1.0-1, 0, 2.0.0-1 |
| Ubuntu:20.04:LTS | php-mongodb | 1.6.1-4build1, 0, 1.5.5-1build1 |
| Ubuntu:18.04:LTS | php-mongodb | 1.3.4-1build1, 0, 1.2.3-1build1 |
| Ubuntu:22.04:LTS | node-mongodb | 3.6.4+~cs11.13.19-1, 0, 3.6.4+~cs11.13.19-2 |
| Ubuntu:24.04:LTS | php-mongodb | 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1, 1.15.0+1.11.1+1.9.2+1.7.5-1build1, 0 |
Timeline
- Aug 29, 2023 CVE Published
- Aug 30, 2023 EPSS Score
- Oct 2, 2023 EPSS Score
- Nov 4, 2023 EPSS Score
- Dec 7, 2023 EPSS Score
- Jan 10, 2024 EPSS Score
- Feb 12, 2024 EPSS Score
- Mar 16, 2024 EPSS Score
- Apr 18, 2024 EPSS Score
- May 21, 2024 EPSS Score
- Jun 23, 2024 EPSS Score
- Jul 26, 2024 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-32050 third-party-advisory
- https://jira.mongodb.org/browse/SWIFT-1229 third-party-advisory
- https://jira.mongodb.org/browse/CDRIVER-3797 third-party-advisory
- https://jira.mongodb.org/browse/PHPC-1869 third-party-advisory
- https://jira.mongodb.org/browse/NODE-3356 third-party-advisory
- https://jira.mongodb.org/browse/CXX-2028 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-32050 third-party-advisory