{"id":"CVE-2023-27597","summary":"OpenSIPS has vulnerability in the parse_uri() function","details":"OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.8 and 3.2.5, when a specially crafted SIP message is processed by the function `rewrite_ruri`, a crash occurs due to a segmentation fault. This issue causes the server to crash. It affects configurations containing functions that make use of the affected code, such as the function `setport`. This issue has been fixed in version 3.1.8 and 3.2.5.","aliases":["GHSA-358f-935m-7p9c"],"modified":"2026-08-12T13:34:07.623055Z","published":"2023-03-15T20:17:20.536Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27597.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27597.json"},{"type":"ADVISORY","url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-358f-935m-7p9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27597"},{"type":"FIX","url":"https://github.com/OpenSIPS/opensips/commit/b2dffe4b5cd81182c9c8eabb6c96aac96c7acfe3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensips/opensips","events":[{"introduced":"0"},{"fixed":"aa800179d5691116ccb1dd934cc0a65c7e98c85c"},{"introduced":"1e94abe8837fe3511fada132d67a6385d8d099a2"},{"fixed":"7e284ab03dfcdc45752ebf66fcc430f01ee072b2"},{"fixed":"b2dffe4b5cd81182c9c8eabb6c96aac96c7acfe3"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.8"},{"introduced":"3.2.0"},{"fixed":"3.2.5"}]}}],"versions":["3.2.4","3.1.7","3.2.3","3.1.6","3.2.2","3.1.5","3.1.4","3.2.1","3.2.0","3.1.3","3.1.2","3.1.1","3.1.0","3.1.0-beta","2.1-rc1","2.1-alpha3","2.1-alpha2","2.1-alpha1","1.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-27597.json","vanir_signatures_modified":"2026-08-12T13:34:07Z","vanir_signatures":[{"target":{"file":"parser/parse_uri.c"},"deprecated":false,"digest":{"line_hashes":["159354732707066688172630801001869389310","314694310520366455078292890434231384466","202960281750373064650338664148648442232","279427880172628563070721051819606855649","8254576665223450981931498681117815991","272441540370315833509864215219308843982","113065455026111661343552914902417323112","199213131273436847837454245568089407494","128514581013484073472170393721543213835"],"threshold":0.9},"id":"CVE-2023-27597-1d0ae52d","signature_type":"Line","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/b2dffe4b5cd81182c9c8eabb6c96aac96c7acfe3"},{"target":{"file":"parser/parse_uri.c","function":"parse_uri"},"deprecated":false,"digest":{"function_hash":"303803560992489969719343563125184656971","length":25163},"id":"CVE-2023-27597-535b5ff1","signature_type":"Function","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/b2dffe4b5cd81182c9c8eabb6c96aac96c7acfe3"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}