01 Record
CVE-2021-33640
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
MediumPUBLISHEDCNA: openEuler
CNA base score6.2 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.69% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 52.6% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-12-19 00:00Z3 YR AGO
- Last updated
- 2025-04-17 14:58Z1 YR AGO
- Reserved
- 2021-05-28
- Assigning CNA
- openEuler
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.2)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- 0bd92972d6755669920c8e579b3e7b8913aed59f9c181a3b0b8a9c69c22800ab
05 Affected products
VendorProductVersionsPlatforms
06 References
- www.openeuler.orghttps://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2021-33640&packageName=libtar
- lists.fedoraproject.orgFEDORA-2022-88772d0a2dhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/
- lists.fedoraproject.orgFEDORA-2022-ccc68b06cchttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WX5YE66CT7Y5C2HTHXSFDKQWYWYWJ2T/