7.5

CVE-2021-32050: mongodb inc mongodb c driver

CVSS: 7.5v3.1HighModified
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 50% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

50%

Versus all other CVEs

30-day change

0.00 pp

From 0.65% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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