reSIProcate reTurn client heap buffer overflow in TCP and TLS frame parsing
resiprocate
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| resiprocate resiprocate |
| No fix yet |
Original description
reSIProcate reTurn client through 1.14.0 contains a heap buffer overflow in TurnTcpSocket::handleReadHeader(), which TurnTlsSocket inherits, that allows malicious TURN servers or on-path attackers to overwrite memory via oversized frame lengths. Attackers can send STUN or ChannelData frames declaring up to 65535 bytes, writing roughly 57 KB past the fixed 8192-byte mReadBuffer and crashing the client. Only the synchronous TCP and TLS client is affected; the asynchronous client (TurnAsyncSocket) and the reTurn server are not.
From the CVE record · VulnCheck