🛡️ MGASA-2022-0010 — squashfs-tools
Description
Updated squashfs-tools packages fix security vulnerability
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)
Affected software
MGASA-2022-0010 is recorded against 1 package.
- squashfs-tools (fixed in 4.5-1.git5ae723.1.mga8)
Timeline and source
Published on 11 January 2022 and last revised on 16 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
advisories.mageia.org (Advisory)
bugs.mageia.org (Report)
ubuntu.com (Advisory)
lists.fedoraproject.org (Web)
www.debian.org (Web)
ubuntu.com (Advisory)
lists.fedoraproject.org (Web)
www.debian.org (Web)
ubuntu.com (Advisory)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| squashfs-tools | — | 4.5-1.git5ae723.1.mga8 |
References
Similar Threats
- Unknown CLSA-2026-1777544697
- Unknown CLSA-2025-1751888935
- Unknown CLSA-2025-1750782908
- Unknown RLSA-2024:2396
- Unknown RHSA-2024:2396
More MGASA 2022 advisories
Browse all of MGASA 2022 in the advisory index.
Free Vulnerability Check
Is your site affected by MGASA-2022-0010?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MGASA-2022-0010 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.