CVE-2024-3119

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3119
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3119.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-3119
Downstream
Related
Published
2024-04-10T00:15:12Z
Modified
2025-09-24T12:26:25.670025Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/irontec/sngrep

Affected ranges

Type
GIT
Repo
https://github.com/irontec/sngrep
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.0
v0.1.0
v0.2.0
v0.2.1
v0.2.2
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2

v1.*

v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.10
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6
v1.4.7
v1.4.8
v1.4.9
v1.5.0
v1.6.0
v1.7.0
v1.8.0