Stack-based Buffer Overflow Affecting iptraf-ng package, versions <0:1.2.2-1.el9


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise 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-RHEL9-IPTRAFNG-10119706
  • published13 May 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 RHEL:9 iptraf-ng to version 0:1.2.2-1.el9 or higher.
This issue was patched in RHSA-2025:7064.

NVD Description

Note: Versions mentioned in the description apply only to the upstream iptraf-ng package and not the iptraf-ng package as distributed by RHEL. See How to fix? for RHEL:9 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