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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-52949 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- www.gruppotim.it exploit third-party-advisory
- github.com release-notes
- bugs.debian.org issue-tracking