Stack-based Buffer Overflow Affecting iptraf-ng-debuginfo package, versions <0:1.1.4-7.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.74% (56th 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-AMZN2-IPTRAFNGDEBUGINFO-9599597
  • published2 Apr 2025
  • disclosed16 Dec 2024

Introduced: 16 Dec 2024

CVE-2024-52949  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 iptraf-ng-debuginfo to version 0:1.1.4-7.amzn2.0.1 or higher.
This issue was patched in ALAS2-2025-2810.

NVD Description

Note: Versions mentioned in the description apply only to the upstream iptraf-ng-debuginfo package and not the iptraf-ng-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.

CVSS Base Scores

version 3.1