VULNERABILITY INTELLIGENCE
CVE-2024-3119
CVSS score9 CRITICAL
EPSS probability1.80%
CISA KEVNot currently listed
Published2024-04-10
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
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.
Weakness classification
- 41c37e40-543d-43a2-b660-2fee83ea851a: CWE-120
- nvd@nist.gov: CWE-787
Primary references
- 41c37e40-543d-43a2-b660-2fee83ea851a — Patch
- 41c37e40-543d-43a2-b660-2fee83ea851a — Release Notes
- 41c37e40-543d-43a2-b660-2fee83ea851a — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory