{"id":"CVE-2023-27599","summary":"OpenSIPS has vulnerability in the parse_to_param() function","details":"OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, when the function `append_hf` handles a SIP message with a malformed To header, a call to the function `abort()` is performed, resulting in a crash. This is due to the following check in `data_lump.c:399` in the function `anchor_lump`. An attacker abusing this vulnerability will crash OpenSIPS leading to Denial of Service. It affects configurations containing functions that make use of the affected code, such as the function `append_hf`. This issue has been fixed in versions 3.1.7 and 3.2.4.","aliases":["GHSA-qvj2-vqrg-f5jx"],"modified":"2026-09-09T08:15:12.710004Z","published":"2023-03-15T20:58:06.736Z","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-27599.json"},"references":[{"type":"WEB","url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27599.json"},{"type":"ADVISORY","url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-qvj2-vqrg-f5jx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27599"},{"type":"FIX","url":"https://github.com/OpenSIPS/opensips/commit/cb56694d290530ac308f44b453c18120b1c1109d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensips/opensips","events":[{"introduced":"0"},{"fixed":"c4122c9860458616cb438795c3545cd0f6014927"},{"introduced":"1e94abe8837fe3511fada132d67a6385d8d099a2"},{"fixed":"50407d34067f0e80765617c3bace78639e380d5a"},{"fixed":"cb56694d290530ac308f44b453c18120b1c1109d"}],"database_specific":{"cpe":"cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.7"},{"introduced":"3.2.0"},{"fixed":"3.2.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["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-27599.json","vanir_signatures_modified":"2026-09-09T08:15:12Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["103427369402872753158271912790578579023","183409190138354218127238252134215334189","197608051211858435498739421386188147849","77791795686128095295210639413416200426","168251727310713755205629515138178111224","206231595634978616990189578503018161554","12657483260088663827942035407165567455","307359737068084536897580089845294022414"],"threshold":0.9},"id":"CVE-2023-27599-3b8dfbeb","signature_type":"Line","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/cb56694d290530ac308f44b453c18120b1c1109d","target":{"file":"parser/parse_to.c"}},{"id":"CVE-2023-27599-a0b05202","signature_type":"Function","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/cb56694d290530ac308f44b453c18120b1c1109d","target":{"file":"parser/parse_to.c","function":"parse_to_param"},"deprecated":false,"digest":{"function_hash":"80557817817875367682846696301065227188","length":6113}}]}}],"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"}]}