6.5
Medium
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…
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 and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libtar 1.2 | earliest → < 1.2.21 | 1.2.21 |
Other CVEs of libtar
The 4 CVEs of libtar →
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…
Not rated
CVE-2021-33645
The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a…
Not rated
CVE-2021-33646
The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a…
Not rated