{"id":"CVE-2023-27600","summary":"OpenSIPS has vulnerability in the codec_delete_XX() functions","details":"OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, OpenSIPS crashes when a malformed SDP body is received and is processed by the `delete_sdp_line` function in the sipmsgops module. This issue can be reproduced by calling the function with an SDP body that does not terminate by a line feed (i.e. `\\n`).\n\nThe vulnerability was found while performing black-box fuzzing against an OpenSIPS server running a configuration that made use of the functions `codec_delete_except_re` and `codec_delete_re`. The same issue was also discovered while performing coverage guided fuzzing on the function `codec_delete_except_re`. The crash happens because the function `delete_sdp_line` expects that an SDP line is terminated by a line feed (`\\n`).\n\nBy abusing this vulnerability, an attacker is able to crash the server. It affects configurations containing functions that rely on the affected code, such as the function `codec_delete_except_re`. Due to the sanity check that is performed in the `del_lump` function, exploitation of this issue will generate an `abort` in the lumps processing function, resulting in a Denial of Service. This issue is patched in versions 3.1.7 and 3.2.4.","aliases":["GHSA-67w7-g4j8-3wcx"],"modified":"2026-09-09T08:15:12.435797Z","published":"2023-03-15T21:14:33.131Z","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-27600.json"},"references":[{"type":"WEB","url":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html"},{"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-27600.json"},{"type":"ADVISORY","url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27600"},{"type":"FIX","url":"https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensips/opensips","events":[{"introduced":"0"},{"fixed":"c4122c9860458616cb438795c3545cd0f6014927"},{"introduced":"1e94abe8837fe3511fada132d67a6385d8d099a2"},{"fixed":"50407d34067f0e80765617c3bace78639e380d5a"},{"fixed":"c6ab3bb406c447e30c7d33a1a8970048b4612100"}],"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-27600.json","vanir_signatures_modified":"2026-09-09T08:15:12Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["261343698899999627805510876059115462601","62050617451903244551054204970049411328","335434915452298048443156964871483007313","57509108342134742076473821636762156182"],"threshold":0.9},"id":"CVE-2023-27600-3bb967e2","signature_type":"Line","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","target":{"file":"modules/sipmsgops/codecs.c"}},{"deprecated":false,"digest":{"function_hash":"183010042092244881893470034173159816889","length":415},"id":"CVE-2023-27600-963662c0","signature_type":"Function","signature_version":"v1","source":"https://github.com/opensips/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","target":{"file":"modules/sipmsgops/codecs.c","function":"delete_sdp_line"}}]}}],"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"}]}