7.5

CVE-2021-32050: Some MongoDB Drivers may publish events containing authentication-related data to a command listener configured by an application

Modified
AliasesUBUNTU-CVE-2021-32050DEBIAN-CVE-2021-32050GHSA-vxvm-qww3-2fh7
Published 29-08-2023Last modified 03-11-2025

Vulnerability summary

CVE-2021-32050 is a high (CVSS 7.5) vulnerability in mongodb inc mongodb c driver. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 29-08-2023
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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).

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.65% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb6 products
  • mongodb≥ 1.0.0, < 1.9.2
  • c\+\+≥ 1.0.0, < 1.17.7
  • c driver≥ 1.0.0, < 1.17.7
  • node.js≥ 3.6, < 3.6.10 | ≥ 4.0, < 4.17.0 | ≥ 5.0, < 5.8.0
  • php driver≥ 1.0.0, < 1.9.2
Mongodb inc4 products
Debian3 products
  • mongo-c-driver< 1.18.0-1
  • node-mongodbAll versions (No fix recorded)
  • php-mongodb< 1.11.1+1.9.2+1.7.5-4
Ubuntu3 products
  • mongo-c-driverAll versions (No fix recorded)
  • node-mongodbAll versions (No fix recorded)
  • php-mongodbAll versions (No fix recorded)
Github.com/mongodb1 product
  • mongo-swift-driver≥ 1.0.0, < 1.1.1
Npm1 product
  • mongodb≥ 3.6.0, < 3.6.10 | ≥ 4.0.0, < 4.17.0 | ≥ 5.0.0, < 5.8.0

6 vendors · 18 products

References

16 links
Show all 16 references