MongoDB C Driver
Heap buffer overflow via mid-scan command list growth in client topology monitoring
An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CNA · CWE-787
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MongoDB C Driver
- < 1.30.12
- >= 2.0.0, < 2.5.5
Fixed in 1.30.12, 2.5.5
Mitigation
Upgrade C Driver to 1.30.12 or 2.5.5 or later.
References
- Vendor advisory github.com/mongodb/mongo-c-driver/security/adv…
- Release notes github.com/mongodb/mongo-c-driver/releases/tag…
- Release notes github.com/mongodb/mongo-c-driver/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.