Sensitive information in connection string parse errors in the Rust Driver
Summary
The MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the appli...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBRust Driver |
≥ 2.0, < 3.10.2→ 3.10.2 |
3.10.2 |
Original description The description as published by the source.
The MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- REDHAT Red Hat
- web cna@mongodb.com