PT-2022-10275 · Libtar · Libtar
Published
2022-12-09
·
Updated
2025-04-02
·
CVE-2021-33640
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libtar (affected versions not specified)
Description
The issue arises after tar close() is called, where libtar.c releases the memory pointed to by pointer t. However, the list() function continues to use pointer t, specifically in the call to free longlink longname(t->th buf), resulting in the use of released memory, which is a use-after-free condition.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Libtar