Skip to content

CVE-2024-52949 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.

HighCVSS 7.5 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

10 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/iptraf-ng(Debian 12) = 1:1.2.1-1; = 1:1.2.1-2; = 1:1.2.2-1; All versions No fix listed No fix yet
debian/iptraf-ng(Debian 13) = 1:1.2.1-2; = 1:1.2.2-1; All versions No fix listed No fix yet
ubuntu/iptraf-ng(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/iptraf-ng(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/iptraf-ng(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/iptraf-ng(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux iptraf-ng(Azure Linux 3.0) < 1.2.2-1 1.2.2-1 Fixed
cbl-mariner iptraf-ng(CBL-Mariner 2.0) < 1.2.2-1 1.2.2-1 Fixed
debian/iptraf-ng(Debian 14) < 1:1.2.2-1; = 1:1.2.1-2 1:1.2.2-1 Fixed
iptraf-ng = 1.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cbl-mariner iptraf-ng(CBL-Mariner:2.0) < 1.2.2-1 1.2.2-1
azure linux iptraf-ng(Azure Linux:3.0) < 1.2.2-1 1.2.2-1
debian/iptraf-ng(Debian:12) All versions No fix listed
debian/iptraf-ng(Debian:12) = 1:1.2.1-1 No fix listed
debian/iptraf-ng(Debian:12) = 1:1.2.1-2 No fix listed
debian/iptraf-ng(Debian:12) = 1:1.2.2-1 No fix listed
debian/iptraf-ng(Debian:13) All versions No fix listed
debian/iptraf-ng(Debian:13) = 1:1.2.1-2 No fix listed
debian/iptraf-ng(Debian:13) = 1:1.2.2-1 No fix listed
debian/iptraf-ng(Debian:14) < 1:1.2.2-1 1:1.2.2-1
debian/iptraf-ng(Debian:14) = 1:1.2.1-2 No fix listed
ubuntu/iptraf-ng(Ubuntu:22.04) All versions No fix listed
ubuntu/iptraf-ng(Ubuntu:24.04) All versions No fix listed
ubuntu/iptraf-ng(Ubuntu:26.04) All versions No fix listed
iptraf-ng = 1.2.1 No fix listed
ubuntu/iptraf-ng(Ubuntu:26.10) All versions No fix listed

References