vulnerability

Huawei EulerOS: CVE-2021-33640: libtar security update

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:N/I:N/A:C)
Published
Dec 19, 2022
Added
Mar 20, 2023
Modified
Aug 13, 2025

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).

Solution

huawei-euleros-2_0_sp10-upgrade-libtar-help
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.