CVE-2023-27601: OpenSIPS has vulnerability in the codec_delete_XX() functions

Published Mar 15, 2023
·
Updated

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 deletesdpline 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).

The vulnerability was found while performing black-box fuzzing against an OpenSIPS server running a configuration that made use of the functions codecdeleteexceptre and codecdeletere. The same issue was also discovered while performing coverage guided fuzzing on the function codecdeleteexceptre. The crash happens because the function deletesdpline expects that an SDP line is terminated by a line feed (\n):

By 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 codecdeleteexceptre. Due to the sanity check that is performed in the dellump 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.

Affected Software

2 affected components
OpenSIPS OpenSIPS<3.1.7
OpenSIPS OpenSIPS>=3.2.0<3.2.4

Event History

Mar 15, 2023
CVE Published
via MITRE·09:32 PM
Data Sourced
via MITRE·09:32 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-27601?

CVE-2023-27601 is classified as a critical vulnerability due to the potential for denial of service through application crashes.

2

How do I fix CVE-2023-27601?

To address CVE-2023-27601, upgrade OpenSIPS to version 3.1.7 or 3.2.4 or later.

3

What causes the crash in CVE-2023-27601?

The crash in CVE-2023-27601 is triggered by processing a malformed Session Description Protocol (SDP) body in the delete_sdp_line function.

4

Is CVE-2023-27601 present in all OpenSIPS versions?

No, CVE-2023-27601 affects OpenSIPS versions prior to 3.1.7 and between 3.2.0 and 3.2.4.

5

What is OpenSIPS?

OpenSIPS is an open-source Session Initiation Protocol (SIP) server that facilitates the management of VoIP calls and messaging.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203