CVE-2021-32050

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32050
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32050.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32050
Aliases
Downstream
Published
2023-08-29T16:15:08Z
Modified
2025-09-19T12:56:13.978900Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/mongodb/mongo-c-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-c-driver
Events
Type
GIT
Repo
https://github.com/mongodb/mongo-php-driver
Events

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.1.0-rc0
1.1.1
1.1.10
1.1.11
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.11.0
1.17.0
1.17.0-beta
1.17.0-beta2
1.17.0-rc0
1.17.1
1.17.2
1.17.3
1.17.4
1.17.5
1.17.6
1.2.0
1.2.0-beta
1.2.0-beta1
1.2.0-rc0
1.2.0alpha1
1.2.0alpha2
1.2.0alpha3
1.2.1
1.2.10
1.2.11
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.8
1.2.9
1.3.0
1.3.0-rc0
1.3.0RC1
1.3.0beta1
1.3.0beta2
1.3.1
1.3.2
1.3.3
1.3.4
1.4.0
1.4.0-beta1
1.4.0RC1
1.4.0RC2
1.4.0beta1
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.0-rc0
1.5.0-rc1
1.5.0-rc2
1.5.0-rc3
1.5.0-rc4
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.6.0
1.6.0-rc0
1.6.0RC1
1.6.0alpha1
1.6.0alpha2
1.6.0alpha3
1.6.1
1.7.0
1.7.0-rc0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.8.0
1.8.0RC1
1.8.0beta1
1.8.0beta2
1.8.1
1.8.2
1.9.0
1.9.0-RC1
1.9.0-rc0
1.9.0-rc1
1.9.1

debian/1.*

debian/1.17.0-1
debian/1.17.2-1
debian/1.17.3-1
debian/1.17.4-1
debian/1.17.5-1
debian/1.17.6-1