Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
MongoDB Inc. C Driver
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc. C Driver Windows |
| No fix yet |
Original description
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.