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