CVE-2024-3120
published critical CVSS 3.1 · 9.0Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| irontec | — | sngrep1.4.1 through 1.8.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | Pentraze |
| irontec | — | sngrep1.4.1 through 1.8.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sngrepaarch64 | Advisory build | 1.8.1-bp155.2.3.1 | OPENSUSE-SU-2024:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sngrepi586 | Advisory build | 1.8.1-bp155.2.3.1 | OPENSUSE-SU-2024:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sngrepppc64le | Advisory build | 1.8.1-bp155.2.3.1 | OPENSUSE-SU-2024:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sngreps390x | Advisory build | 1.8.1-bp155.2.3.1 | OPENSUSE-SU-2024:0106-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | sngrepx86_64 | Advisory build | 1.8.1-bp155.2.3.1 | OPENSUSE-SU-2024:0106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sngrepaarch64 | Advisory build | 1.8.1-1.1 | OPENSUSE-SU-2024:13856-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | sngrepppc64le | Advisory build | 1.8.1-1.1 | OPENSUSE-SU-2024:13856-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sngreps390x | Advisory build | 1.8.1-1.1 | OPENSUSE-SU-2024:13856-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sngrepx86_64 | Advisory build | 1.8.1-1.1 | OPENSUSE-SU-2024:13856-1 |
Description
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 sip_validate_packet and sip_parse_extra_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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- Pentraze · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| irontec | sngrep | 1.4.1 through 1.8.0 (affected · semver)Default: unaffected | Pentraze · cna |
| irontec | sngrep | 1.4.1 through 1.8.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
3Provider assertions
3Pentraze · cna
Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf3e7bd6c05b126faaef3b6fc1a8b412e7d450bbde6d28496dcb2aa2e8226f00
- Ingested
- 23 Sep 2026, 08:25:33 UTC
- Source record
- Official CVE record