4.2medium
MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application
- Severity
- 4.2medium CVSS:3.1 by mongodb
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- GHSA-4rjr-3gj2-5crq
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc. MongoDB Rust Driver | 2.0.0-alpha, 2.0.0-alpha1, from 1.0.0 up to 1.2.1 | CVE List |
| mongodb rust_driver | 2.0.0-alpha, 2.0.0-alpha1, from 1.00.0 up to 1.2.1, from 1.0.0 up to 1.2.1, 2.0.0 | CVE List, NVD |
| mongodb (crates.io) | from 1.0.0 before 2.0.0-beta | GitHub Advisory Database |
All scores
| mongodb | 4.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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
GitHub Advisory Database
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.
NVD (es)
Unas versiones específicas de MongoDB Rust Driver pueden incluir credenciales usadas por el pool de conexiones para autenticar conexiones en el evento de monitorización que es emitido cuando el pool es creado. La infraestructura de registro del usuario podría entonces ingerir potencialmente estos eventos y filtrar inesperadamente las credenciales. Ten cuenta que esta monitorización no está habilitada por defecto
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20332 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4rjr-3gj2-5crq changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-20332 changed 2026-06-17 | Public domain |