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 | alma-upgrade-squashfs-tools | May 13, 2024 | Aug 27, 2021 | |
| Alpine Linux | alpine-linux-upgrade-squashfs-tools | Mar 26, 2024 | Aug 27, 2021 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-squashfs-toolsamazon-linux-ami-2-upgrade-squashfs-tools-debuginfo | Jul 21, 2023 | Aug 27, 2021 | |
| Debian | debian-upgrade-squashfs-tools | Sep 2, 2021 | Aug 27, 2021 | |
| Gentoo Linux | gentoo-linux-upgrade-sys-fs-squashfs-tools | May 31, 2023 | Aug 27, 2021 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-squashfs-tools | Feb 24, 2022 | Aug 27, 2021 | |
| Huawei Euleros 2_0_sp5 | huawei-euleros-2_0_sp5-upgrade-squashfs-tools | Nov 12, 2021 | Aug 27, 2021 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-squashfs-tools | Nov 2, 2021 | Aug 27, 2021 | |
| Huawei Euleros 2_0_sp9 | huawei-euleros-2_0_sp9-upgrade-squashfs-tools | Nov 12, 2021 | Aug 27, 2021 | |
| Nutanix Ahv | nutanix-ahv-upgrade-latest | Jun 5, 2026 | Oct 8, 2024 | |
| Oracle_linux | — | oracle-linux-upgrade-squashfs-tools | May 28, 2024 | Sep 10, 2019 |
| Redhat_linux | no-fix-redhat-rpm-packageredhat-upgrade-squashfs-toolsredhat-upgrade-squashfs-tools-debuginforedhat-upgrade-squashfs-tools-debugsource | May 1, 2024 | Aug 27, 2021 | |
| Rocky_linux | rocky-upgrade-squashfs-toolsrocky-upgrade-squashfs-tools-debuginforocky-upgrade-squashfs-tools-debugsource | Jun 17, 2024 | Aug 27, 2021 | |
| Suse | — | suse-upgrade-squashfs | Aug 9, 2024 | Aug 27, 2021 |
| Ubuntu | ubuntu-pro-upgrade-squashfs-toolsubuntu-upgrade-squashfs-tools | Aug 31, 2021 | Aug 27, 2021 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | 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