QID 355173

Date Published: 2023-05-29

QID 355173: Amazon Linux Security Advisory for libarchive : ALAS2023-2023-071

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. (
( CVE-2021-31566) a use-after-free flaw was found in libarchive in the copy_string function. (
( CVE-2021-36976) 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-2022-26280)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-071 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355173

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-071 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-071.html