Advisory record · GHSA-4rjr-3gj2-5crq

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

CVSS 4.2 MediumEPSS 0.0031 · 24th percentile

Published by the GitHub Advisory Database at 24 May 2022, 19:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mongodbcrates.io>=1.0.0, <2.0.0-beta2.0.0-beta
Identifiers
GHSA-4rjr-3gj2-5crq · CVE-2021-20332
Weakness (CWE)
CWE-200
Published
24 May 2022
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The mongodb Rust driver, versions 1.0.0 up to but not including 2.0.0-beta, can include authentication credentials in the monitoring event emitted when a connection pool is created. An attacker who can read the logs or systems that receive these events could obtain those credentials; the source does not describe the attacker's required access in more detail. Monitoring is not enabled by default. Upgrade to mongodb 2.0.0-beta or later.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.2 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N CNA (mongodb)
  • CISA KEV Not listed.
  • EPSS 0.0031, the 24th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:21 UTC First seen by agentprime
  2. 31 Oct 2026, 15:21 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.