CVE-2021-33640 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 res...
CriticalCVSS 9.8
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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).
Upgrade path
5 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fedoraproject fedora | = 36; = 37 | No fix listed | Versions listed |
| openatom openeuler | = 20.03-sp1; = 20.03-sp2; = 22.03 | No fix listed | Versions listed |
| openEuler 20.03 LTS SP1 | = libtar 1.2.20-19 | No fix listed | Versions listed |
| openEuler 20.03 LTS SP3 | = libtar 1.2.20-19 | No fix listed | Versions listed |
| openEuler 22.03 LTS | = libtar 1.2.20-21 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openatom openeuler | = 20.03-sp1 | No fix listed |
| openatom openeuler | = 20.03-sp2 | No fix listed |
| openatom openeuler | = 22.03 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| openEuler 22.03 LTS | = libtar 1.2.20-21 | No fix listed |
| openEuler 20.03 LTS SP1 | = libtar 1.2.20-19 | No fix listed |
| openEuler 20.03 LTS SP3 | = libtar 1.2.20-19 | No fix listed |
References
- FEDORA-2022-88772d0a2d vendor-advisory
- FEDORA-2022-ccc68b06cc vendor-advisory
- www.openeuler.org vendor-advisory