QID 355609

Date Published: 2023-07-24

QID 355609: Amazon Linux Security Advisory for squashfs-tools : ALAS2-2023-2152

Integer overflow in the read_fragment_table_4 function in unsquash-4.c in squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow. (
( CVE-2015-4645) (1) unsquash-1.c, (2) unsquash-2.c, (3) unsquash-3.c, and (4) unsquash-4.c in squashfs and sasquatch allow remote attackers to cause a denial of service (application crash) via a crafted input. (
( CVE-2015-4646) squashfs_opendir in unsquash-1.c in squashfs-tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash.
The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination. (
( CVE-2021-40153) squashfs_opendir in unsquash-2.c in squashfs-tools 4.5 allows directory traversal, a different vulnerability than( CVE-2021-40153.
A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem. (
( CVE-2021-41072)



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 Critical - 8.1 severity.
  • CVSS V2 rated as Medium - 5.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2152 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355609

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2152 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2152.html

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report