CVE-2021-33640

State
Published
Severity
6.2 Medium
Published
Dec 19, 2022
Updated
Apr 17, 2025
Reserved
May 28, 2021

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HopenEuler

Weaknesses

Affected Products

ProductVersions
openEuler 22.03 LTSopenEuler
  • libtar 1.2.20-21Affected
openEuler 20.03 LTS SP1openEuler
  • libtar 1.2.20-19Affected
openEuler 20.03 LTS SP3openEuler
  • libtar 1.2.20-19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.