{"id":"CVE-2023-27598","published":"2023-03-15T20:29:49Z","modified":"2025-02-25T14:57:06Z","title":"OpenSIPS has vulnerability in the parse_via() function","vendor":"OpenSIPS","product":"opensips","tier":"tail","description":{"text":"OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed `Via` header to OpenSIPS triggers a segmentation fault when the function `calc_tag_suffix` is called. A specially crafted `Via` header, which is deemed correct by the parser, will pass uninitialized strings to the function `MD5StringArray` which leads to the crash. Abuse of this vulnerability leads to Denial of Service due to a crash. Since the uninitialized string points to memory location `0x0`, no further exploitation appears to be possible. No special network privileges are required to perform this attack, as long as the OpenSIPS configuration makes use of functions such as `sl_send_reply` or `sl_gen_totag` that trigger the vulnerable code. This issue has been fixed in versions 3.1.7 and 3.2.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0125,"percentile":0.69377,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7","tags":["x_refsource_MISC"]},{"url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":13.88},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"opensips","affectedVersions":[{"vendor":"OpenSIPS","product":"opensips","versions":["< 3.1.7",">= 3.2.0, < 3.2.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-25T14:30:55.171998Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-31337","exploited":false,"provenance":"source"}}