CVE-2024-3119: Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep

Published Apr 9, 2024
·
Updated

A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sipgetcallid and sipgetxcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.

Affected Software

2 affected components
Irontec Sngrep>=0.4.2<1.8.1
sngrep sngrep>=0.4.2

Remediation

Information

Upgrade to sngrep version 1.8.1

Event History

Apr 9, 2024
CVE Published
via MITRE·11:55 PM
Data Sourced
via MITRE·11:55 PM
RemedyDescriptionSeverityWeakness
Apr 10, 2024
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 9, 57065
Event
via NVD·03:33 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-3119?

CVE-2024-3119 is classified as a buffer overflow vulnerability with potentially high impact due to the improper handling of SIP headers.

2

How do I fix CVE-2024-3119?

To fix CVE-2024-3119, update sngrep to version 1.8.1 or later, which addresses the buffer overflow issue.

3

Which versions of sngrep are affected by CVE-2024-3119?

CVE-2024-3119 affects all versions of sngrep from v0.4.2 up to but not including v1.8.1.

4

What type of vulnerability is CVE-2024-3119?

CVE-2024-3119 is a buffer overflow vulnerability caused by improper handling of 'Call-ID' and 'X-Call-ID' SIP headers.

5

What are the potential consequences of exploiting CVE-2024-3119?

Exploiting CVE-2024-3119 could lead to crashes or arbitrary code execution on systems running vulnerable versions of sngrep.

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