CVE-2021-20332

Source
https://cve.org/CVERecord?id=CVE-2021-20332
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20332.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20332
Aliases
Published
2021-08-02T13:15:07.633Z
Modified
2026-07-08T05:49:40.450952113Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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. 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

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "mongodb:rust_driver",
            "cpes": [
                "cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha1:*:*:*:mongodb:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.0.0-alpha1"
                },
                {
                    "last_affected": "2.0.0-alpha1"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/mongodb/mongo-rust-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-rust-driver
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*",
        "cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha:*:*:*:mongodb:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "last_affected": "1.2.1"
        },
        {
            "introduced": "2.0.0-alpha"
        },
        {
            "last_affected": "2.0.0-alpha"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

2.*
2.0.0-alpha
v1.*
v1.0.0
v1.1.0
v1.1.0-beta
v1.2.0
v1.2.1
v2.*
v2.0.0-alpha

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20332.json"