QID 354419

Date Published: 2022-12-21

QID 354419: Amazon Linux Security Advisory for libarchive : ALAS2022-2022-059

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)



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 - 4.3 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2022-059 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354419

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-059 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-059.html