Skip to content
OpenAdvisories
Medium ALAS2023-2023-071 3 CVEs

Moderate: libarchive security update (Amazon Linux 2023)

Published Feb 17, 2023 · Updated Feb 22, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-26280: An out-of-bounds read flaw was found in libarchive. This flaw allows an attacker who can supply a specially crafted zip file to libarchive to cause an out-of-bounds read in programs linked with libarchive, using the LZMA zip functionality. The consequences depend on the specific program linked with libarchive. Still, they would most likely result in an application crash or information disclosure that could be used in conjunction with another exploit. CVE-2021-36976: A use-after-free flaw was found in libarchive in the copy_string function. CVE-2021-31566: An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2023 bsdcat 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 bsdcat-debuginfo 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 bsdcpio 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 bsdcpio-debuginfo 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 bsdtar 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 bsdtar-debuginfo 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 libarchive 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 libarchive-debuginfo 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 libarchive-debugsource 0:3.5.3-2.amzn2023.0.2
Amazon Linux · 2023 libarchive-devel 0:3.5.3-2.amzn2023.0.2

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-31566.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-36976.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-26280.html