Advisory

ALSA-2022:0892

Also known as: CVE-2021-23177, CVE-2021-31566

Summary

Moderate: libarchive security update

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-03-15 09:11 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

bsdtar

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 3.3.3-3.el8_5 (ecosystem)

Fixed versions

3.3.3-3.el8_5

Fix

  • Fixed version 3.3.3-3.el8_5
    sudo dnf upgrade bsdtar-3.3.3-3.el8_5

libarchive

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 3.3.3-3.el8_5 (ecosystem)

Fixed versions

3.3.3-3.el8_5

Fix

  • Fixed version 3.3.3-3.el8_5
    sudo dnf upgrade libarchive-3.3.3-3.el8_5

libarchive-devel

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 3.3.3-3.el8_5 (ecosystem)

Fixed versions

3.3.3-3.el8_5

Fix

  • Fixed version 3.3.3-3.el8_5
    sudo dnf upgrade libarchive-devel-3.3.3-3.el8_5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences