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.
CVSS Details
- CVSS 3.1 Base Score: 8.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade squashfs-tools | May 13, 2024 | Aug 27, 2021 |
| Alpine Linux | — | Upgrade squashfs-tools | Mar 26, 2024 | Aug 27, 2021 |
| Amazon Linux Ami 2 | — | Upgrade squashfs-toolsUpgrade squashfs-tools-debuginfo | Jul 21, 2023 | Aug 27, 2021 |
| Debian | — | Upgrade squashfs-tools | Sep 2, 2021 | Aug 27, 2021 |
| Gentoo Linux | — | Upgrade sys-fs/squashfs-tools. | May 31, 2023 | Aug 27, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade squashfs-tools | Feb 24, 2022 | Aug 27, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade squashfs-tools | Nov 12, 2021 | Aug 27, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade squashfs-tools | Nov 2, 2021 | Aug 27, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade squashfs-tools | Nov 12, 2021 | Aug 27, 2021 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | Oct 8, 2024 |
| Oracle_linux | — | Upgrade squashfs-tools | May 28, 2024 | Sep 10, 2019 |
| Redhat_linux | — | Upgrade squashfs-tools-debugsourceUpgrade squashfs-tools-debuginfoUpgrade squashfs-toolsNo solution exists | May 1, 2024 | Aug 27, 2021 |
| Rocky_linux | — | Upgrade squashfs-tools-debugsourceUpgrade squashfs-tools-debuginfoUpgrade squashfs-tools | Jun 17, 2024 | Aug 27, 2021 |
| Suse | — | Upgrade squashfs | Aug 9, 2024 | Aug 27, 2021 |
| Ubuntu | — | Upgrade squashfs-toolsUpgrade squashfs-tools (Ubuntu Pro) | Aug 31, 2021 | Aug 27, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Aug 27, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub