rpm package
opensuse/libtar&distro=openSUSE Tumbleweed
pkg:rpm/opensuse/libtar&distro=openSUSE%20Tumbleweed
Vulnerabilities (3)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2021-33640 | Med | 6.2 | < 1.2.20-3.1 | 1.2.20-3.1 | Dec 19, 2022 | After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) . As a result, the released memory is used (use-after-free). | |
| CVE-2021-33645 | Hig | 7.5 | < 1.2.20-3.1 | 1.2.20-3.1 | Aug 10, 2022 | The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak. | |
| CVE-2021-33643 | Cri | 9.1 | < 1.2.20-3.1 | 1.2.20-3.1 | Aug 10, 2022 | 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 < 1.2.20-3.1fixed 1.2.20-3.1
After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) . As a result, the released memory is used (use-after-free).
- affected < 1.2.20-3.1fixed 1.2.20-3.1
The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak.
- affected < 1.2.20-3.1fixed 1.2.20-3.1
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.