Vulnerability · Published Aug 9, 2022 · Assigned by openEuler
CVE-2021-33643
Medium 6.5
In plain English
A medium-severity out-of-bounds read in libtar. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.9%top 20.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtar | 1.2.20-17.el8 | ALSA-2023:2898 |
| Debian:12 | libtar | 1.2.20-8+deb12u1 | DEBIAN-CVE-2021-33643 |
| Rocky Linux:8 | libtar | 0:1.2.20-17.el8 | RLSA-2023:2898 |
| Ubuntu:22.04:LTS | libtar | 1.2.20-8ubuntu0.22.04.1 | UBUNTU-CVE-2021-33643 |
| Ubuntu:22.04:LTS | libtar | 1.2.20-8ubuntu0.22.04.1 | USN-7398-1 |
| Ubuntu:24.04:LTS | libtar | 1.2.20-8.1ubuntu0.24.04.1 | USN-7398-1 |
| Ubuntu:24.04:LTS | libtar | 1.2.20-8.1ubuntu0.24.04.1 | UBUNTU-CVE-2021-33643 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
References
- https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1807
- FEDORA-2022-fe1a4e3cf0 vendor-advisory
- FEDORA-2022-50e8a1b51d vendor-advisory
- FEDORA-2022-44a20bba43 vendor-advisory
- FEDORA-2022-88772d0a2d vendor-advisory
- FEDORA-2022-ccc68b06cc vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00026.html