CVE-2024-3119 Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
CriticalCVSS 9.8
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
12 packages: 3 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/sngrep(Debian 12) | = 1.6.0-1; = 1.7.0-1; = 1.7.0-2; = 1.7.0-2~bpo12+1 +11 more | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 16.04) | = 0.4.1-1; = 1.0.0-1; = 1.1.0-1; = 1.2.0-1 +2 more | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 18.04) | = 1.4.3-1; = 1.4.4-1; = 1.4.4-2; = 1.4.5-1 +1 more | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 20.04) | = 1.4.6-1; = 1.4.6-2; All versions | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 22.04) | = 1.4.9-1; = 1.4.10-1; = 1.4.10-1ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 24.04) | = 1.7.0-2; = 1.8.0-1; = 1.8.0-1build1; = 1.8.0-1build2 +1 more | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 25.10) | = 1.8.2-1; All versions | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 26.04) | = 1.8.2-1; = 1.8.3-1; All versions | No fix listed | No fix yet |
| ubuntu/sngrep(Ubuntu 26.10) | = 1.8.3-1; = 1.8.4-1; All versions | No fix listed | No fix yet |
| debian/sngrep(Debian 13) | < 1.8.1-1 | 1.8.1-1 | Fixed |
| debian/sngrep(Debian 14) | < 1.8.1-1 | 1.8.1-1 | Fixed |
| irontec/sngrep | >= 0.4.2, < 1.8.1; >= 0.4.2, <= 1.8.0 | 1.8.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/sngrep(Debian:12) | All versions | No fix listed |
| debian/sngrep(Debian:12) | = 1.6.0-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.7.0-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.7.0-2 | No fix listed |
| debian/sngrep(Debian:12) | = 1.7.0-2~bpo12+1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.0-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.1-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.2-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.2-1~bpo12+1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.3-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.3-1~bpo13+1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.4-1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.4-1~bpo13+1 | No fix listed |
| debian/sngrep(Debian:12) | = 1.8.4-2 | No fix listed |
| debian/sngrep(Debian:12) | = 1.9.0-1 | No fix listed |
| debian/sngrep(Debian:13) | < 1.8.1-1 | 1.8.1-1 |
| debian/sngrep(Debian:14) | < 1.8.1-1 | 1.8.1-1 |
| ubuntu/sngrep(Ubuntu:22.04) | All versions | No fix listed |
| irontec/sngrep | >= 0.4.2, <= 1.8.0 | No fix listed |
| ubuntu/sngrep(Ubuntu:24.04) | All versions | No fix listed |
| irontec/sngrep | >= 0.4.2, < 1.8.1 | 1.8.1 |
| ubuntu/sngrep(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:16.04) | = 0.4.1-1 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/sngrep(Ubuntu:16.04) | = 1.0.0-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:16.04) | = 1.1.0-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:16.04) | = 1.2.0-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:16.04) | = 1.2.0-1build1 | No fix listed |
| ubuntu/sngrep(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:18.04) | = 1.4.3-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:18.04) | = 1.4.4-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:18.04) | = 1.4.4-2 | No fix listed |
| ubuntu/sngrep(Ubuntu:18.04) | = 1.4.5-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:20.04) | = 1.4.6-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:20.04) | = 1.4.6-2 | No fix listed |
| ubuntu/sngrep(Ubuntu:22.04) | = 1.4.9-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:22.04) | = 1.4.10-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:22.04) | = 1.4.10-1ubuntu0.1 | No fix listed |
| ubuntu/sngrep(Ubuntu:24.04) | = 1.7.0-2 | No fix listed |
| ubuntu/sngrep(Ubuntu:24.04) | = 1.8.0-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:24.04) | = 1.8.0-1build1 | No fix listed |
| ubuntu/sngrep(Ubuntu:24.04) | = 1.8.0-1build2 | No fix listed |
| ubuntu/sngrep(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/sngrep(Ubuntu:25.10) | = 1.8.2-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:26.10) | = 1.8.3-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:26.10) | = 1.8.4-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:26.04) | = 1.8.2-1 | No fix listed |
| ubuntu/sngrep(Ubuntu:26.04) | = 1.8.3-1 | No fix listed |
References
- Debian Security Tracker CVE-2024-3119 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking patch
- github.com issue-tracking release-notes
- pentraze.com issue-tracking third-party-advisory
- bugs.debian.org issue-tracking