Out-of-bounds Write Affecting sngrep package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.22% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-SNGREP-6595824
  • published11 Apr 2024
  • disclosed10 Apr 2024

Introduced: 10 Apr 2024

CVE-2024-3120  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 sngrep.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sngrep package and not the sngrep package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1