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
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
02 Apr 2025, 18:33
Type | Values Removed | Values Added |
---|---|---|
First Time |
Openatom openeuler
Openatom |
|
CPE | cpe:2.3:o:huawei:openeuler:20.03:sp2:*:*:lts:*:*:* cpe:2.3:o:huawei:openeuler:20.03:sp1:*:*:lts:*:*:* |
cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:* cpe:2.3:o:openatom:openeuler:20.03:sp2:*:*:lts:*:*:* cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:* |
Information
Published : 2022-12-19 16:15
Updated : 2025-04-02 18:33
NVD link : CVE-2021-33640
Mitre link : CVE-2021-33640
CVE.ORG link : CVE-2021-33640
JSON object : View
Products Affected
fedoraproject
- fedora
openatom
- openeuler
CWE
CWE-416
Use After Free