The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that conne...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10ruby-mongo |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSruby-mongo |
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 Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org