Name | CVE-2024-3120 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1068818 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sngrep (PTS) | stretch | 1.4.2-1 | vulnerable |
| buster | 1.4.6-1 | vulnerable |
| bullseye | 1.4.8-1 | vulnerable |
| bookworm | 1.6.0-1 | vulnerable |
| sid, trixie | 1.8.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
sngrep | source | stretch | (unfixed) | end-of-life | | |
sngrep | source | (unstable) | 1.8.1-1 | | | 1068818 |
Notes
[bookworm] - sngrep <no-dsa> (Minor issue)
[bullseye] - sngrep <no-dsa> (Minor issue)
[buster] - sngrep <postponed> (Minor issue)
https://github.com/irontec/sngrep/commit/f3f8ed8ef38748e6d61044b39b0dabd7e37c6809 (v1.8.1)