{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-27601","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-03-04T01:03:53.637Z","datePublished":"2023-03-15T21:32:56.061Z","dateUpdated":"2025-02-25T14:56:36.328Z"},"containers":{"cna":{"title":"OpenSIPS has vulnerability in the codec_delete_XX() functions","problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"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"}}],"references":[{"name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-xj5x-g52f-548h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-xj5x-g52f-548h"},{"name":"https://github.com/OpenSIPS/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf","tags":["x_refsource_MISC"],"url":"https://github.com/OpenSIPS/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf"},{"name":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","tags":["x_refsource_MISC"],"url":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html"},{"name":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","tags":["x_refsource_MISC"],"url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"}],"affected":[{"vendor":"OpenSIPS","product":"opensips","versions":[{"version":"< 3.1.7","status":"affected"},{"version":">= 3.2.0, < 3.2.4","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-03-15T21:32:56.061Z"},"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 has been fixed in versions 3.1.7 and 3.2.4."}],"source":{"advisory":"GHSA-xj5x-g52f-548h","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T12:16:36.285Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-xj5x-g52f-548h","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/OpenSIPS/opensips/security/advisories/GHSA-xj5x-g52f-548h"},{"name":"https://github.com/OpenSIPS/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/OpenSIPS/opensips/commit/8f87c7c03da55f9c79bd92e67fa2c94b2a7ce5cf"},{"name":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html","tags":["x_refsource_MISC","x_transferred"],"url":"https://opensips.org/docs/modules/3.3.x/sipmsgops.html"},{"name":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf","tags":["x_refsource_MISC","x_transferred"],"url":"https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:47.061221Z","id":"CVE-2023-27601","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-25T14:56:36.328Z"}}]}}