An update for libtar is now available for openEuler-22.03-LTS-SP1
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2023-1008
Final
1.0
1.0
2023-01-06
Initial
2023-01-06
2023-01-06
openEuler SA Tool V1.0
2023-01-06
libtar security update
An update for libtar is now available for openEuler-22.03-LTS-SP1.
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.
Security Fix(es):
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)
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.
Medium
libtar
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1008
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-33640
https://nvd.nist.gov/vuln/detail/CVE-2021-33640
openEuler-22.03-LTS-SP1
libtar-debuginfo-1.2.20-22.oe2203sp1.aarch64.rpm
libtar-debugsource-1.2.20-22.oe2203sp1.aarch64.rpm
libtar-help-1.2.20-22.oe2203sp1.aarch64.rpm
libtar-devel-1.2.20-22.oe2203sp1.aarch64.rpm
libtar-1.2.20-22.oe2203sp1.aarch64.rpm
libtar-1.2.20-22.oe2203sp1.src.rpm
libtar-help-1.2.20-22.oe2203sp1.x86_64.rpm
libtar-devel-1.2.20-22.oe2203sp1.x86_64.rpm
libtar-1.2.20-22.oe2203sp1.x86_64.rpm
libtar-debugsource-1.2.20-22.oe2203sp1.x86_64.rpm
libtar-debuginfo-1.2.20-22.oe2203sp1.x86_64.rpm
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).
2023-01-06
CVE-2021-33640
openEuler-22.03-LTS-SP1
Medium
6.2
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
libtar security update
2023-01-06
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1008