CVE-2024-2397 infinite loop in the PPP printer of tcpdump
An attacker can cause a denial of service via an infinite loop in tcpdump's PPP printer by providing a crafted pcap file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-2397?
CVE-2024-2397 is a medium-severity denial of service vulnerability in The Tcpdump Group tcpdump, published on 12 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Due to a bug in packet data buffers management, the PPP printer in tcpdump can enter an infinite loop when reading a crafted DLT_PPP_SERIAL .pcap savefile. This problem does not affect any tcpdump release, but it affected the git master branch from 2023-06-05 to 2024-03-21.
Weakness: CWE-835
Which versions are affected by CVE-2024-2397?
Linux distribution packages (1)
tcpdump openSUSE:Tumbleweed | All versions | 4.99.5-1.1 |
How do I fix CVE-2024-2397?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-2397 being exploited?
There is no known exploitation of CVE-2024-2397 in the wild and no public exploit code.
Sources
Also known as GHSA-j3vc-4chv-32mw, MGASA-2024-0177, openSUSE-SU-2024:14305-1.