SIPSorcery is vulnerable to Denial of Service (DoS)
60
CVSS Score
Medium
Denial of Service (DoS)
Affected versions of this package are vulnerable to Denial of Service (DoS) due to an infinite loop in the SCTP chunk parser. In SctpPacket.ParseChunks, the parser advances its buffer cursor by the declared chunk length. A recognised SCTP chunk with a declared length of zero leaves the cursor stationary, so the loop never terminates and pins the receive thread at 100% CPU. A remote peer that can deliver a checksum-valid SCTP-over-UDP (SctpUdpTransport) or SCTP-over-DTLS/WebRTC (RTCSctpTransport) packet can trigger this condition and deny service for that SCTP session. The fix enforces the SCTP minimum chunk length and buffer bounds before advancing the cursor, rejecting malformed chunks with an ApplicationException.
Upgrade the SIPSorcery library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and process SCTP packets via SctpUdpTransport or WebRTC data channels (RTCSctpTransport).
5.2.0 - 10.0.11
Fixed in 10.0.12SIPSorcery is vulnerable to Denial of Service (DoS) in versions 5.2.0 - 10.0.11.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.