The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:24.04:LTSgolang-mongodb-mongo-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10golang-mongodb-mongo-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgolang-mongodb-mongo-driver |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org