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).
References
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: openEuler
Published: 2022-12-19T00:00:00
Updated: 2022-12-28T00:00:00
Reserved: 2021-05-28T00:00:00
Link: CVE-2021-33640
JSON object: View
NVD Information
Status : Modified
Published: 2022-12-19T16:15:10.840
Modified: 2023-11-07T03:35:53.527
Link: CVE-2021-33640
JSON object: View
Redhat Information
No data.
CWE