Skip to content

CVE-2021-33643 An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.

CriticalCVSS 9.1 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

Description

An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.

Affected products

ProductAffected versionsFixed in
debian/libtar(Debian:12) < 1.2.20-8+deb12u1 1.2.20-8+deb12u1
debian/libtar(Debian:12) = 1.2.20-8 No fix listed
debian/libtar(Debian:12) = 1.2.20-8+deb12u1~deb11u1 No fix listed
ubuntu/libtar(Ubuntu:22.04) < 1.2.20-8ubuntu0.22.04.1 1.2.20-8ubuntu0.22.04.1
feep libtar < 1.2.21 1.2.21
openatom openeuler = 20.03-sp1 No fix listed
openatom openeuler = 20.03-sp3 No fix listed
openatom openeuler = 22.03 No fix listed
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
ubuntu/libtar(Ubuntu:24.04) < 1.2.20-8.1ubuntu0.24.04.1 1.2.20-8.1ubuntu0.24.04.1

References