A weakness in the MongoDB Node.js driver can place sensitive information taken from an application-supplied connection string into the text of an erro...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:20.04:LTSnode-mongodb |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSnode-mongodb |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSnode-mongodb |
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.
A weakness in the MongoDB Node.js driver can place sensitive information taken from an application-supplied connection string into the text of an error produced while that connection string is being parsed. The error is generated inside the application process before any database connection is made, so no database account and no network access are needed for it to occur. A party able to read the application's error output or log files may thereby obtain database credentials that the application's configuration source would otherwise keep to a narrower audience.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org