CVEvulnerability

CVE-2024-3120

9.8 CRITICAL Published 2024-04-10 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-10
Last modified
2026-06-17
Assigner
41c37e40-543d-43a2-b660-2fee83ea851a
CVSS 3.1 (41c37e40-543d-43a2-b660-2fee83ea851a)
9.0 CRITICAL — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-120, CWE-787

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.

Affected configurations

• irontec sngrep (>= 1.4.1 < 1.8.1)

Related

Weakness · CWE (2)

  • CWE-120 Buffer Copy without Checking Size of Input weakness
  • CWE-787 Out-of-bounds Write weakness

References