RedHat: RHSA-2022-0892:01 Moderate: libarchive security update
Summary
The libarchive programming library can create and read several different
streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM
images. Libarchive is used notably in the bsdtar utility, scripting
language bindings such as python-libarchive, and several popular desktop
file managers.
Security Fix(es):
* libarchive: extracting a symlink with ACLs modifies ACLs of target
(CVE-2021-23177)
* libarchive: symbolic links incorrectly followed when changing modes,
times, ACL and flags of a file while extracting an archive (CVE-2021-31566)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2021-23177 https://access.redhat.com/security/cve/CVE-2021-31566 https://access.redhat.com/security/updates/classification/#moderate
Package List
Red Hat Enterprise Linux BaseOS (v. 8):
Source:
libarchive-3.3.3-3.el8_5.src.rpm
aarch64:
bsdcat-debuginfo-3.3.3-3.el8_5.aarch64.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.aarch64.rpm
bsdtar-3.3.3-3.el8_5.aarch64.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.aarch64.rpm
libarchive-3.3.3-3.el8_5.aarch64.rpm
libarchive-debuginfo-3.3.3-3.el8_5.aarch64.rpm
libarchive-debugsource-3.3.3-3.el8_5.aarch64.rpm
ppc64le:
bsdcat-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
bsdtar-3.3.3-3.el8_5.ppc64le.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
libarchive-3.3.3-3.el8_5.ppc64le.rpm
libarchive-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
libarchive-debugsource-3.3.3-3.el8_5.ppc64le.rpm
s390x:
bsdcat-debuginfo-3.3.3-3.el8_5.s390x.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.s390x.rpm
bsdtar-3.3.3-3.el8_5.s390x.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.s390x.rpm
libarchive-3.3.3-3.el8_5.s390x.rpm
libarchive-debuginfo-3.3.3-3.el8_5.s390x.rpm
libarchive-debugsource-3.3.3-3.el8_5.s390x.rpm
x86_64:
bsdcat-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdcat-debuginfo-3.3.3-3.el8_5.x86_64.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.x86_64.rpm
bsdtar-3.3.3-3.el8_5.x86_64.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.x86_64.rpm
libarchive-3.3.3-3.el8_5.i686.rpm
libarchive-3.3.3-3.el8_5.x86_64.rpm
libarchive-debuginfo-3.3.3-3.el8_5.i686.rpm
libarchive-debuginfo-3.3.3-3.el8_5.x86_64.rpm
libarchive-debugsource-3.3.3-3.el8_5.i686.rpm
libarchive-debugsource-3.3.3-3.el8_5.x86_64.rpm
Red Hat CodeReady Linux Builder (v. 8):
aarch64:
bsdcat-debuginfo-3.3.3-3.el8_5.aarch64.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.aarch64.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.aarch64.rpm
libarchive-debuginfo-3.3.3-3.el8_5.aarch64.rpm
libarchive-debugsource-3.3.3-3.el8_5.aarch64.rpm
libarchive-devel-3.3.3-3.el8_5.aarch64.rpm
ppc64le:
bsdcat-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
libarchive-debuginfo-3.3.3-3.el8_5.ppc64le.rpm
libarchive-debugsource-3.3.3-3.el8_5.ppc64le.rpm
libarchive-devel-3.3.3-3.el8_5.ppc64le.rpm
s390x:
bsdcat-debuginfo-3.3.3-3.el8_5.s390x.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.s390x.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.s390x.rpm
libarchive-debuginfo-3.3.3-3.el8_5.s390x.rpm
libarchive-debugsource-3.3.3-3.el8_5.s390x.rpm
libarchive-devel-3.3.3-3.el8_5.s390x.rpm
x86_64:
bsdcat-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdcat-debuginfo-3.3.3-3.el8_5.x86_64.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdcpio-debuginfo-3.3.3-3.el8_5.x86_64.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.i686.rpm
bsdtar-debuginfo-3.3.3-3.el8_5.x86_64.rpm
libarchive-debuginfo-3.3.3-3.el8_5.i686.rpm
libarchive-debuginfo-3.3.3-3.el8_5.x86_64.rpm
libarchive-debugsource-3.3.3-3.el8_5.i686.rpm
libarchive-debugsource-3.3.3-3.el8_5.x86_64.rpm
libarchive-devel-3.3.3-3.el8_5.i686.rpm
libarchive-devel-3.3.3-3.el8_5.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for libarchive is now available for Red Hat Enterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat CodeReady Linux Builder (v. 8) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64
Bugs Fixed
2024237 - CVE-2021-31566 libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive
2024245 - CVE-2021-23177 libarchive: extracting a symlink with ACLs modifies ACLs of target