{"api_version":"1","generated_at":"2026-07-15T23:05:02+00:00","cve":"CVE-2023-27598","urls":{"html":"https://cve.report/CVE-2023-27598","api":"https://cve.report/api/cve/CVE-2023-27598.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27598","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27598"},"summary":{"title":"CVE-2023-27598","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-03-15 21:15:00","updated_at":"2023-03-21 19:14:00"},"problem_types":["CWE-908"],"metrics":[],"references":[{"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx","name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx","refsource":"MISC","tags":[],"title":"Vulnerability in the parse_via() function · Advisory · OpenSIPS/opensips · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7","name":"https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7","refsource":"MISC","tags":[],"title":"[core] fix parse_via() parsing · OpenSIPS/opensips@ab611f7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","name":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","refsource":"MISC","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27598","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27598","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"27598","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"opensips","cpe5":"opensips","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-27598","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-908: Use of Uninitialized Resource","cweId":"CWE-908"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"OpenSIPS","product":{"product_data":[{"product_name":"opensips","version":{"version_data":[{"version_affected":"=","version_value":"< 3.1.7"},{"version_affected":"=","version_value":">= 3.2.0, < 3.2.4"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx","refsource":"MISC","name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx"},{"url":"https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7","refsource":"MISC","name":"https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7"},{"url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","refsource":"MISC","name":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"}]},"source":{"advisory":"GHSA-wxfg-3gwh-rhvx","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-03-15 21:15:00","lastModifiedDate":"2023-03-21 19:14:00","problem_types":["CWE-908"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2.0","versionEndExcluding":"3.2.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}