{"id":"CVE-2023-27600","state":"PUBLISHED","title":"OpenSIPS has vulnerability in the codec_delete_XX() functions","description":"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.","publishedAt":"2023-03-15T21:14:33.131Z","updatedAt":"2025-02-25T14:56:44.542Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["OpenSIPS opensips"],"affected":[{"vendor":"OpenSIPS","product":"opensips","versions":[{"version":"< 3.1.7","status":"affected"},{"version":">= 3.2.0, < 3.2.4","status":"affected"}]}],"references":["https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx","https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","https://opensips.org/docs/modules/3.3.x/sipmsgops.html","https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/27xxx/CVE-2023-27600.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-27600","state":"PUBLISHED","datePublished":"2023-03-15T21:14:33.131Z","dateUpdated":"2025-02-25T14:56:44.542Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-04T01:03:53.637Z"},"containers":{"cna":{"title":"OpenSIPS has vulnerability in the codec_delete_XX() functions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OpenSIPS","product":"opensips","versions":[{"version":"< 3.1.7","status":"affected"},{"version":">= 3.2.0, < 3.2.4","status":"affected"}]}],"references":[{"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx","name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","name":"https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","tags":["x_refsource_MISC"]},{"url":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","name":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","tags":["x_refsource_MISC"]},{"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","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-15T21:14:33.131Z"},"source":{"advisory":"GHSA-67w7-g4j8-3wcx","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx","name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-67w7-g4j8-3wcx","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","name":"https://github.com/OpenSIPS/opensips/commit/c6ab3bb406c447e30c7d33a1a8970048b4612100","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","name":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","tags":["x_refsource_MISC","x_transferred"]},{"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","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:16:36.198Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:49.802058Z","id":"CVE-2023-27600","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:56:44.542Z"}}]}}}