CVE-2024-2397
TCPdump vulnerability analysis and mitigation

Overview

CVE-2024-2397 is a vulnerability discovered in tcpdump's PPP printer functionality. The issue was identified in the git master branch between June 5, 2023, and March 21, 2024, affecting the packet data buffers management system. Importantly, this vulnerability does not affect any official tcpdump releases (NVD).

Technical details

The vulnerability stems from a bug in packet data buffers management where the PPP printer can enter an infinite loop when processing a specially crafted DLT_PPP_SERIAL .pcap savefile. The issue has been assigned a CVSS v3.1 base score of 6.2 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition) (NVD).

Impact

The vulnerability can lead to a denial of service condition through an infinite loop when processing specially crafted .pcap files. This affects the availability of the system processing the malicious file (Fedora).

Exploitability

The vulnerability requires local access to exploit and involves processing a specially crafted DLT_PPP_SERIAL .pcap savefile. The attack complexity is low, and no privileges or user interaction are required to execute the exploit (NVD).

Mitigation and workarounds

The issue has been fixed in the tcpdump git repository through commit b9811ef. The fix involves using the buffer stack for the de-escaping buffer and properly restoring packet processing values even when exceptions occur. Users should update to versions containing this fix (Github).

Community reactions

Multiple Linux distributions have responded to this vulnerability by releasing security updates, including Fedora 39 and 40, which have issued patches to address the vulnerability (Fedora-39, Fedora-40).

Additional resources


SourceThis report was generated using AI

Related TCPdump vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2019-15167CRITICAL9.1
  • NixOS logoNixOS
  • tcpdump
NoYesAug 27, 2022
CVE-2020-8037HIGH7.5
  • NixOS logoNixOS
  • tcpdump-debuginfo
NoYesNov 04, 2020
CVE-2023-1801MEDIUM6.5
  • NixOS logoNixOS
  • tcpdump
NoYesApr 07, 2023
CVE-2024-2397MEDIUM6.2
  • TCPdump logoTCPdump
  • tcpdump
NoYesApr 12, 2024
CVE-2021-41043MEDIUM5.5
  • TCPdump logoTCPdump
  • tcpdump
NoYesJan 05, 2022

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management