CVE-2021-33644 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_longname, causing an out-of-bounds read.
HighCVSS 8.1
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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_longname, causing an out-of-bounds read.
Upgrade path
9 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libtar(Debian 12) | < 1.2.20-8+deb12u1; = 1.2.20-8; = 1.2.20-8+deb12u1~deb11u1 | 1.2.20-8+deb12u1 | Fixed |
| feep libtar | < 1.2.21 | 1.2.21 | Fixed |
| ubuntu/libtar(Ubuntu 20.04) | < 1.2.20-8ubuntu0.20.04.1; = 1.2.20-7; = 1.2.20-8 | 1.2.20-8ubuntu0.20.04.1 | Fixed |
| ubuntu/libtar(Ubuntu 22.04) | < 1.2.20-8ubuntu0.22.04.1; = 1.2.20-8 | 1.2.20-8ubuntu0.22.04.1 | Fixed |
| ubuntu/libtar(Ubuntu 24.04) | < 1.2.20-8.1ubuntu0.24.04.1; = 1.2.20-8; = 1.2.20-8.1; = 1.2.20-8.1build1 | 1.2.20-8.1ubuntu0.24.04.1 | Fixed |
| ubuntu/libtar(Ubuntu Pro 16.04) | < 1.2.20-4ubuntu0.1~esm1; = 1.2.20-4 | 1.2.20-4ubuntu0.1~esm1 | Fixed |
| ubuntu/libtar(Ubuntu Pro 18.04) | < 1.2.20-7ubuntu0.1~esm1; = 1.2.20-7 | 1.2.20-7ubuntu0.1~esm1 | Fixed |
| fedoraproject fedora | = 35; = 36; = 37 | No fix listed | Versions listed |
| openatom openeuler | = 20.03-sp1; = 20.03-sp3; = 22.03 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed 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 |
| ubuntu/libtar(Ubuntu:Pro:16.04) | < 1.2.20-4ubuntu0.1~esm1 | 1.2.20-4ubuntu0.1~esm1 |
| ubuntu/libtar(Ubuntu:Pro:16.04) | = 1.2.20-4 | No fix listed |
| ubuntu/libtar(Ubuntu:Pro:18.04) | < 1.2.20-7ubuntu0.1~esm1 | 1.2.20-7ubuntu0.1~esm1 |
| ubuntu/libtar(Ubuntu:Pro:18.04) | = 1.2.20-7 | No fix listed |
| ubuntu/libtar(Ubuntu:20.04) | < 1.2.20-8ubuntu0.20.04.1 | 1.2.20-8ubuntu0.20.04.1 |
| ubuntu/libtar(Ubuntu:20.04) | = 1.2.20-7 | No fix listed |
| ubuntu/libtar(Ubuntu:20.04) | = 1.2.20-8 | No fix listed |
| ubuntu/libtar(Ubuntu:22.04) | = 1.2.20-8 | No fix listed |
| ubuntu/libtar(Ubuntu:24.04) | = 1.2.20-8 | No fix listed |
| ubuntu/libtar(Ubuntu:24.04) | = 1.2.20-8.1 | No fix listed |
| ubuntu/libtar(Ubuntu:24.04) | = 1.2.20-8.1build1 | No fix listed |
References
- Debian Security Tracker CVE-2021-33644 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7398-1 vendor-advisory
- www.cve.org issue-tracking
- FEDORA-2022-88772d0a2d vendor-advisory
- FEDORA-2022-fe1a4e3cf0 vendor-advisory
- FEDORA-2022-44a20bba43 vendor-advisory
- FEDORA-2022-ccc68b06cc vendor-advisory
- FEDORA-2022-50e8a1b51d vendor-advisory
- www.openeuler.org issue-tracking third-party-advisory
- lists.debian.org