Description
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, when the function `append_hf` handles a SIP message with a malformed To header, a call to the function `abort()` is performed, resulting in a crash. This is due to the following check in `data_lump.c:399` in the function `anchor_lump`. An attacker abusing this vulnerability will crash OpenSIPS leading to Denial of Service. It affects configurations containing functions that make use of the affected code, such as the function `append_hf`. This issue has been fixed in versions 3.1.7 and 3.2.4.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-qvj2-vqrg-f5jx
Patch, Third Party Advisory x_refsource_misc
https://github.com/OpenSIPS/opensips/commit/cb56694d290530ac308f44b453c18120b1c1109d
Third Party Advisory x_refsource_misc
https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
Scores
CVSS v3
7.5
EPSS
0.0042
EPSS Percentile
62.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (1)
opensips/opensips
< 3.1.7
Published
Mar 15, 2023
Tracked Since
Feb 18, 2026