MongoDB Inc. C Driver
Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
A heap-based buffer overflow exists in the TLS transport layer of the MongoDB C Driver when built with the Windows platform TLS backend. A remote endpoint that the client connects to can cause the driver to write uncontrolled data outside the bounds of a heap allocation while processing incoming encrypted traffic after the TLS handshake completes. No authentication or user interaction is required, because the affected processing occurs before any application-level authentication completes. Triggering this issue may lead to memory corruption in the client process, disclosure of adjacent heap memory, or termination of the process.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 2.4.0
- >= 2.3.0, <= 2.3.3
- >= 2.2.0, <= 2.2.4
- >= 2.1.0, <= 2.1.2
- >= 2.0.0, <= 2.0.2
- >= 1.30.0, <= 1.30.8
- >= 1.29.0, <= 1.29.2
- >= 1.28.0, <= 1.28.1
- >= 1.27.0, <= 1.27.6
- >= 1.26.0, <= 1.26.2
- >= 1.25.0, <= 1.25.4
- >= 1.24.0, <= 1.24.4
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.