GitHub Advisoryadvisory · crates.io

GHSA-4rjr-3gj2-5crq Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver

MEDIUM Published 2022-05-24 Modified 2022-06-17 Official page ↗
Aliases
CVE-2021-20332
Ecosystem
crates.io
Packages
mongodb
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-200
Reviewed
2022-06-17

Affected packages

• crates.io mongodb: >= 1.0.0, < 2.0.0-beta → fixed in 2.0.0-beta

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-20332 Specific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring… vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References