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).
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: openEuler
Published: 2022-12-19T00:00:00
Updated: 2024-08-03T23:58:21.909Z
Reserved: 2021-05-28T00:00:00
Link: CVE-2021-33640
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-12-19T16:15:10.840
Modified: 2024-11-21T06:09:15.430
Link: CVE-2021-33640
Redhat