Description
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, if `ds_is_in_list()` is used with an invalid IP address string (`NULL` is illegal input), OpenSIPS will attempt to print a string from a random address (stack garbage), which could lead to a crash. All users of `ds_is_in_list()` without the `$si` variable as 1st parameter could be affected by this vulnerability to a larger, lesser or no extent at all, depending if the data passed to the function is a valid IPv4 or IPv6 address string or not. Fixes will are available starting with the 3.1.9 and 3.2.6 minor releases. There are no known workarounds.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3
Third Party Advisory x_refsource_misc
https://github.com/OpenSIPS/opensips/issues/2780
Patch, Third Party Advisory x_refsource_misc
https://github.com/OpenSIPS/opensips/commit/e2f13d374
Scores
CVSS v3
5.9
EPSS
0.0039
EPSS Percentile
59.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (1)
opensips/opensips
< 3.1.9
Published
Mar 15, 2023
Tracked Since
Feb 18, 2026