UBUNTU-CVE-2021-40153

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-40153

    UBUNTU-CVE-2021-40153

    Published: 27 Aug 2021Last Modified: 5 Feb 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: squashfs-tools

    Purl: pkg:deb/ubuntu/squashfs-tools@1:4.3-3ubuntu2.16.04.3+esm1?arch=source&distro=esm-infra/xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1:4.3-3ubuntu2.16.04.3+esm1

    Affected versions

    1:4.2+20130409-2.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-40153 | CVE-DB