Vulnerability record · OpenEuler 22.03-LTS-SP1
An update for libtar is now available for openEuler-22.03-LTS-SP1.
OpenEuler 22.03-LTS-SP1
What it fixes
Synopsis:
libtar security updateSummary:
An update for libtar is now available for openEuler-22.03-LTS-SP1.Description:
Libtar is a C library for manipulating POSIX tar files. It handles adding and extracting files to/from a tar archive. Requires gcc, make, and zlib.
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).(CVE-2021-33640)Topic:
An update for libtar is now available for openEuler-22.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
libtar
Manual fix · OpenEuler 22.03-LTS-SP1
sudo dnf upgrade libtar libtar-devel libtar-helprpm -q libtar libtar-devel libtar-helpSources