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).
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
4.2 MEDIUM
LOCAL
LOW
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
mongodbCNA
4.2 MEDIUM
LOCAL
LOW
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 18%
VendorProductVersion
mongodbc\+\+
1.0.0 ≤
𝑥
< 1.17.7
mongodbc_driver
1.0.0 ≤
𝑥
< 1.17.7
mongodbnode.js
3.6 ≤
𝑥
< 3.6.10
mongodbnode.js
4.0 ≤
𝑥
< 4.17.0
mongodbnode.js
5.0 ≤
𝑥
< 5.8.0
mongodbphp_driver
1.0.0 ≤
𝑥
< 1.9.2
mongodbswift_driver
1.0.0 ≤
𝑥
< 1.1.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
mongo-c-driver
bullseye
no-dsa
buster
no-dsa
bookworm
1.23.1-1
no-dsa
sid
1.28.1-1
fixed
trixie
1.28.1-1
fixed
node-mongodb
bullseye
no-dsa
buster
no-dsa
bookworm
no-dsa
sid
vulnerable
php-mongodb
bullseye
no-dsa
buster
no-dsa
bookworm
1.15.0+1.11.1+1.9.2+1.7.5-1
no-dsa
sid
1.19.3-1
fixed
trixie
1.19.3-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mongo-c-driver
noble
needs-triage
mantic
ignored
lunar
ignored
jammy
needs-triage
focal
needs-triage
bionic
ignored
xenial
ignored
trusty
ignored
node-mongodb
noble
needs-triage
mantic
ignored
lunar
ignored
jammy
needs-triage
focal
needs-triage
bionic
ignored
xenial
ignored
trusty
ignored
php-mongodb
noble
needs-triage
mantic
ignored
lunar
ignored
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
ignored