CVE-2021-33643
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-33643 is a security vulnerability in libtar, a C library for manipulating tar archives. The vulnerability was discovered and disclosed in May 2021. The issue affects the libtar package, which supports both the strict POSIX tar format and many commonly-used GNU extensions. This vulnerability occurs when processing specially crafted tar files (CVE MITRE).

Technical details

The vulnerability is triggered when an attacker submits a crafted tar file with size in header struct being 0, which can cause a calling of malloc(0) for a variable gnu_longlink, resulting in an out-of-bounds read condition. This technical issue affects the tar file processing functionality of the library (NVD).

Impact

The vulnerability can lead to an out-of-bounds read condition when processing specially crafted tar files. This could potentially allow attackers to access memory outside of intended boundaries, which could lead to information disclosure or program crashes (Red Hat CVE).

Exploitability

The vulnerability can be exploited by submitting a specially crafted tar file with specific header structure modifications. The exploitation requires the attacker to be able to supply a malicious tar file to a system using the affected libtar library (Debian Security).

Mitigation and workarounds

Multiple vendors have released patches to address this vulnerability. Red Hat has released security updates for affected versions in RHEL 8. Fedora has also provided fixes in versions 1.2.20-25 and later for affected releases. Users are advised to update to the patched versions of libtar (Fedora Update, Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

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