CVE-2024-3120

Source
https://cve.org/CVERecord?id=CVE-2024-3120
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3120.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-3120
Downstream
Related
Published
2024-04-09T23:55:57.410Z
Modified
2026-05-01T04:24:54.944944Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3120.json",
    "cna_assigner": "Pentraze",
    "cwe_ids": [
        "CWE-120"
    ]
}
References

Affected packages

Git / github.com/irontec/sngrep

Affected ranges

Type
GIT
Repo
https://github.com/irontec/sngrep
Events

Affected versions

v1.*
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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3120.json"