CVE-2024-3120
Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
Summary
Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-3120 sngrep
- Ubuntu UBUNTU-CVE-2024-3120 sngrep
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web github.com
- web pentraze.com