CyberRota Analysis
AI-GeneratedThe find_line_delimiter() function in OpenSIPS versions prior to 3.6.6 and 4.0.0-rc1 is vulnerable to an out-of-bounds read, which can occur when processing multipart SIP messages with specific boundary conditions. This vulnerability could potentially lead to information disclosure or application crashes due to improper memory access. Organizations using affected versions of OpenSIPS, particularly those handling SIP messages with multipart content, should prioritize upgrading to the patched versions to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the find_line_delimiter() function in the multipart body parser performs an out-of-bounds read via strncmp() when searching for MIME boundary delimiters. After finding a -- pattern near the end of the body, the function compares delimiter.len bytes (typically 20-70) starting from a position at or past the logical end of the body buffer, reading past the body boundary. The bug triggers when a SIP message has Content-Type: multipart/mixed with a boundary parameter and its body contains -- within two to three bytes of the body's end without being followed by the actual boundary delimiter. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.