Security mailing lists by PureSourceCode

CVE-2021-20332

MEDIUM 4.4CVSS 3.1

Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver

Specific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring event that is emitted when the pool is created. The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials. Note that such monitoring is not enabled by default. This issue affects MongoDB Rust Driver version 2.0.0-alpha, MongoDB Rust Driver version 2.0.0-alpha1 and MongoDB Rust Driver version 1.0.0 through to and including 1.2.1

Published
2 Aug 2021
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Modified
Weakness
CWE-200
Also known as
GHSA-4rjr-3gj2-5crq
Sources
NVDJSONOSV GHSA-4rjr-3gj2-5crqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD cna@mongodb.com (Secondary) CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb rust_driver
cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*
>= 1.0.0, <= 1.2.1
NVD mongodb rust_driver
cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha:*:*:*:mongodb:*:*
= 2.0.0
NVD mongodb rust_driver
cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha1:*:*:*:mongodb:*:*
= 2.0.0
OSV crates.io mongodb >= 1.0.0, < 2.0.0-beta 2.0.0-beta

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 2 Aug 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.