CVE-2024-3120

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3120
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3120.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-3120
Downstream
Related
Published
2024-04-10T00:15:12Z
Modified
2025-10-10T04:52:36.753953Z
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 stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sipvalidatepacket and sipparseextra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via 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