CVE-2024-3120 Affecting sngrep package, versions <1.8.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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-DEBIANUNSTABLE-SNGREP-6595825
  • published11 Apr 2024
  • disclosed10 Apr 2024

Introduced: 10 Apr 2024

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

How to fix?

Upgrade Debian:unstable sngrep to version 1.8.1-1 or higher.

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:unstable 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.