Advisory

GHSA-4rjr-3gj2-5crq

Also known as: CVE-2021-20332

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 19:09 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

mongodb

crates.io · All systems

Affected

  • introduced 1.0.0, fixed 2.0.0-beta (semver)

Fixed versions

2.0.0-beta

Fix

  • Fixed version 2.0.0-beta
    cargo update -p mongodb --precise 2.0.0-beta

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences