Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-20332

4.2 · MEDIUM
Published Aug 2, 2021 mongodb CWE-200 EPSS 0.31% (23th pctl)

Overview

CVE-2021-20332 is a medium-severity vulnerability affecting mongodb rust_driver. It was published on August 2, 2021 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories and patches from mongodb. Update rust_driver to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
mongodb rust_driver 1.0.0 Affected

Frequently Asked Questions

What is CVE-2021-20332?

CVE-2021-20332 is a medium-severity vulnerability affecting mongodb rust_driver. It was published on August 2, 2021 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

How severe is CVE-2021-20332?

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-20332?

Check the references section for vendor advisories and patches from mongodb. Update rust_driver to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-20332?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-20332 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.