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).

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-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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