Vulnerability · Published Mar 15, 2023 · Assigned by GitHub_M
CVE-2023-28099OpenSIPS has vulnerability in the ds_is_in_list() function
Medium 5.9
In plain English
A medium-severity improper input validation in opensips from OpenSIPS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/OpenSIPS/opensips/security/advisories/GHSA-pfm5-6vhv-3ff3 x_refsource_CONFIRM
- https://github.com/OpenSIPS/opensips/issues/2780 x_refsource_MISC
- https://github.com/OpenSIPS/opensips/commit/e2f13d374 x_refsource_MISC