cve.bz

CVE-2024-3119 irontec sngrep: Out-of-bounds Write

9.8 criticalEPSS 1.8%Fix available

Critical (9.8) in irontec sngrep. EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-04-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-3119 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-3119?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-3119?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-3119 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
irontec sngrepfrom 0.4.2 through 1.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sngrepno fix listedDEBIAN-CVE-2024-3119
Debian13, 14sngrep1.8.1-1DEBIAN-CVE-2024-3119
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moresngrepno fix listedUBUNTU-CVE-2024-3119
SUSEPackage Hub 15 SP5sngrep1.8.1-bp155.2.3.1openSUSE-SU-2024:0106-1
openSUSELeap 15.5sngrep1.8.1-bp155.2.3.1openSUSE-SU-2024:0106-1
openSUSETumbleweedsngrep1.8.1-1.1openSUSE-SU-2024:13856-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON