🛡️ CVE-2021-40153 on Debian — squashfs-tools
Description
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.
Distribution advisory
This page covers CVE-2021-40153 as tracked by Debian, for the package squashfs-tools. The fix is available in version 1:4.5-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability high.
Affected software
DEBIAN-CVE-2021-40153 is recorded against 1 package.
- squashfs-tools (fixed in 1:4.5-2)
Timeline and source
Published on 27 August 2021 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-40153 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| squashfs-tools | — | 1:4.5-2 |
References
Similar Threats
- Unknown CLSA-2026-1777544697
- Unknown CLSA-2025-1751888935
- Unknown CLSA-2025-1750782908
- Unknown RLSA-2024:2396
- Unknown RHSA-2024:2396
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2021-40153?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2021-40153 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.