MongoDB Ruby Driver credential exposure in connection string errors
MongoDB Ruby Driver
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Ruby Driver |
| No fix yet |
Original description
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.
From the CVE record · mongodb