Your submission was sent successfully! Close


Published: 27 August 2021

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 3 base score: 8.1


Package Release Status
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 21.10 (Impish Indri)
Released (1:4.4-2ubuntu1)
Ubuntu 21.04 (Hirsute Hippo)
Released (1:4.4-2ubuntu0.1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (1:4.4-1ubuntu0.1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (1:4.3-6ubuntu0.18.04.3)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (1:4.3-3ubuntu2.16.04.3+esm1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist