CVE-2024-3119

Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep

Description

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 sip_get_callid and sip_get_xcallid 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.

Remediation

Solution:

  • Upgrade to sngrep version 1.8.1

Categories

9.0
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 2.30% Top 20%
Third-Party Advisory pentraze.com
Affected: irontec sngrep
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-3119?
CVE-2024-3119 has been scored as a critical severity vulnerability.
How to fix CVE-2024-3119?
To fix CVE-2024-3119: Upgrade to sngrep version 1.8.1
Is CVE-2024-3119 being actively exploited in the wild?
It is possible that CVE-2024-3119 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3119?
CVE-2024-3119 affects irontec sngrep.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.