CVE-2021-41043
TCPdump vulnerability analysis and mitigation

Overview

CVE-2021-41043 is a heap use-after-free vulnerability discovered in tcpslice's extract_slice() function. The vulnerability was identified and reported on September 13, 2021, affecting the tcpslice utility, which is a tool for extracting portions of packet trace files (CVE Mitre).

Technical details

The vulnerability is triggered when using the tcpslice utility with specific commands, particularly when using the -w option to write output. The issue manifests as a heap use-after-free condition that triggers AddressSanitizer, occurring at memory address 0x617000000160 with a write operation of size 56 bytes. The vulnerability is present in tcpslice version 1.5-PRE-GIT and version 1.2a3 (Github Issue).

Impact

The vulnerability has been rated as having a CVSS 3.1 base score of 5.5 (Medium), with local attack vector, low attack complexity, and no privileges required. While it requires user interaction, the vulnerability can potentially lead to high availability impact, though there are no confirmed impacts on confidentiality or integrity (Ubuntu Security).

Exploitability

The vulnerability requires local network access and user interaction to exploit. It can be triggered by passing specially crafted input to the tcpslice utility (Red Hat CVE).

Mitigation and workarounds

Red Hat has released security updates to address this vulnerability in their Enterprise Linux distributions. The fix is available through updated tcpdump packages, specifically version 4.99.0-6.el9_2.1 for various architectures including x86_64, s390x, ppc64le, and aarch64 (Red Hat Advisory).

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
  • cpe:2.3:a:tcpdump:tcpdump
NoYesNov 04, 2020
CVE-2023-1801MEDIUM6.5
  • NixOS logoNixOS
  • tcpdump-debugsource
NoYesApr 07, 2023
CVE-2024-2397MEDIUM6.2
  • TCPdump logoTCPdump
  • seal-tcpdump
NoYesApr 12, 2024
CVE-2021-41043MEDIUM5.5
  • TCPdump logoTCPdump
  • tcpdump.src
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