Improper resource allocation - Buffer overflow In mongo-c-driver
Description
The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 1.23.1-1+deb12u3 | ||
debian 13 | 1.30.4-1+deb13u2 | ||
debian 14 | 2.2.0-1 |
Aliases
1. 2. 3. 4. 5.