Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-20332

published medium CVSS 3.1 · 4.2

MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application

Published
02 Aug 2021, 12:50:09 UTC
Updated
17 Sep 2024, 01:26:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
MongoDB Inc. — MongoDB Rust Driver2.0.0-alpha · 2.0.0-alpha1 · 1.0.0 through 1.2.1 · Other versions: unaffected Affected Not stated mongodb
mongodb — rust_driver2.0.0-alpha · 2.0.0-alpha1 · 1.00.0 through 1.2.1 · Other versions: unknown Affected Not stated CISA-ADP

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

en · mongodb · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.2 / 10
Severity
medium
Provider
mongodb · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
MongoDB Inc. MongoDB Rust Driver 2.0.0-alpha (affected)2.0.0-alpha1 (affected)1.0.0 through 1.2.1 (affected · custom)Default: unaffected mongodb · cna
mongodb rust_driver 2.0.0-alpha (affected)2.0.0-alpha1 (affected)1.00.0 through 1.2.1 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor (mongodb · cna)

References

1

Provider assertions

3

mongodb · cna

MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
5374052424d5bea8ce08a488fa00dc7e6d69618cc5e0ce5a1289f978479714f9
Ingested
23 Sep 2026, 07:52:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected