Integer overflow in Opensips
CVE-2023-28097
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`.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.010 (60.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Opensips — versions < 3.1.9, >= 3.2.0, < 3.2.6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/OpenSIPS/opensips/security/advisories/GHSA-c6j5-f4h4-2xrq (Third Party Advisory)
- github.com/OpenSIPS/opensips/commit/7cab422e2fc648f910abba34f3f0dbb3ae171ff5 (Patch, Third Party Advisory)
- opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf (Vendor Advisory)
Frequently asked questions
- What is CVE-2023-28097?
- CVE-2023-28097 is a high-severity vulnerability in Opensips, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2023-03-15.
- How severe is CVE-2023-28097?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-28097 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.