A flaw in libmongoc's SCRAM authentication implementation caused the client to continue the authentication handshake and transmit the client proof eve...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:20.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSmongo-c-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.
A flaw in libmongoc's SCRAM authentication implementation caused the client to continue the authentication handshake and transmit the client proof even when a nonce mismatch was detected in the server's first message. An unauthorized party with a man-in-the-middle position could exploit this by injecting a crafted server-first-message containing a controlled salt and low iteration count, then capturing the resulting client proof to perform offline password cracking. This vulnerability is mitigated by TLS, which is standard in production deployments.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org