CVE-2024-3120

Severity CVSS v4.0:
Pending analysis
Type:
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Publication date:
10/04/2024
Last modified:
03/02/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:* 1.4.1 (including) 1.8.1 (excluding)