CVE-2024-3120

NameCVE-2024-3120
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1068818

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sngrep (PTS)bullseye1.4.8-1vulnerable
bookworm1.6.0-1vulnerable
sid, trixie1.8.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sngrepsource(unstable)1.8.1-11068818

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)

Search for package or bug name: Reporting problems