First published: Tue Aug 09 2022(Updated: )
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.
Credit: securities@openeuler.org
Affected Software | Affected Version | How to fix |
---|---|---|
CentOS Libtar | <1.2.21 | |
openEuler | =20.03-sp1 | |
openEuler | =20.03-sp3 | |
openEuler | =22.03 | |
Red Hat Fedora | =35 | |
Red Hat Fedora | =36 | |
Red Hat Fedora | =37 | |
debian/libtar | <=1.2.20-8 | 1.2.20-8+deb12u1~deb11u1 1.2.20-8+deb12u1 |
Openatom Openeuler Linux | =20.03-sp1 | |
Openatom Openeuler Linux | =20.03-sp3 | |
Openatom Openeuler Linux | =22.03 | |
<1.2.21 | ||
=20.03-sp1 | ||
=20.03-sp3 | ||
=22.03 | ||
=35 | ||
=36 | ||
=37 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2021-33643 is classified as a medium vulnerability due to the potential for an out-of-bounds read.
To fix CVE-2021-33643, upgrade to a patched version of libtar that addresses this vulnerability.
CVE-2021-33643 affects libtar versions prior to 1.2.21.
CVE-2021-33643 impacts systems running vulnerable versions of Huawei openEuler and Fedora.
If exploited, CVE-2021-33643 could lead to unintended memory access, potentially resulting in information leakage.