Vulnerabilities · 2023 · Opensips
CVE-2023-28097
Opensips vulnerability
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, a malformed SIP message containing a large _Content-Length_ value and a specially crafted Request-URI causes a segmentation fault in OpenSIPS. This issue occurs when a large amount of shared memory using the `-m` flag was allocated to OpenSIPS, such as 10 GB of RAM. On the test system, this issue occurred when shared memory was set to `2362` or higher. This issue is fixed in versions 3.1.9 and 3.2.6. The only workaround is to guarantee that the Content-Length value of input messages is never larger than `2147483647`.
Affected products
Opensips. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opensips runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf · Vendor Advisory
- github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5 · Patch
- github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-28097
- cve.org/CVERecord?id=CVE-2023-28097
More vulnerabilities in Opensips products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.