{"id":"CVE-2021-40153","aliases":["ALPINE-CVE-2021-40153","ALSA-2024:2396","ALSA-2024:3139","AZL-7463","BELL-CVE-2021-40153","CLSA-2025-1750782908","CLSA-2026-1777544697","CLSA-2026-1792439424","CLSA-2026-1792440720","DEBIAN-CVE-2021-40153","DLA-2752-1","DSA-4967-1","EUVD-2021-27338","GHSA-98f5-57cr-27p7","MGASA-2022-0010","OESA-2021-1425","RHSA-2024:2396","RHSA-2024:3139","RLSA-2024:2396","RLSA-2024:3139","SUSE-SU-2023:4424-1","SUSE-SU-2023:4591-1","SUSE-SU-2024:2463-1","UBUNTU-CVE-2021-40153","USN-5057-1","USN-5078-2","openSUSE-SU-2024:13035-1"],"status":"published","title":"squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry...","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.025,"percentile":0.84907,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2021-08-27T00:00:00Z","modified":"2026-10-29T11:31:09Z","fixes":[{"ecosystem":"Alpine:v3.11","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"squashfs-tools","fixed_in":["4.5-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"squashfs-tools","fixed_in":["4.5.1-1"],"sources":["osv"]},{"ecosystem":"TuxCare:AlmaLinux:9.2","package":"squashfs-tools","fixed_in":["4.4-8.git1.el9.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"squashfs-tools","fixed_in":["4.3-0.21.gitaae0aff4.el7.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:RHEL:7","package":"squashfs-tools","fixed_in":["4.3-0.21.gitaae0aff4.el7.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"TuxCare:OracleLinux:7","package":"squashfs-tools","fixed_in":["4.3-0.21.gitaae0aff4.el7.tuxcare.els1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"squashfs-tools","fixed_in":["1:4.5-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"squashfs-tools","fixed_in":["1:4.5-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"squashfs-tools","fixed_in":["1:4.5-2"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"squashfs-tools","fixed_in":["1:4.3-3+deb9u2"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"squashfs-tools","fixed_in":["1:4.3-12+deb10u1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"squashfs-tools","fixed_in":["1:4.4-2+deb11u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"squashfs-tools","fixed_in":["1:4.3-3ubuntu2.16.04.3+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"squashfs-tools","fixed_in":["1:4.3-6ubuntu0.18.04.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"squashfs-tools","fixed_in":["1:4.4-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"squashfs","fixed_in":["4.6.1-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.11","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-r0"}]}]},{"source":"osv","ecosystem":"AlmaLinux:9","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-10.git1.el9"}]}],"bundled":2},{"source":"osv","ecosystem":"AlmaLinux:8","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-21.el8"}]}],"bundled":2},{"source":"osv","ecosystem":"Azure Linux:2","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.1-1"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-8.git1.el9.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-0.21.gitaae0aff4.el7.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:RHEL:7","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-0.21.gitaae0aff4.el7.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"TuxCare:OracleLinux:7","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-0.21.gitaae0aff4.el7.tuxcare.els1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-3+deb9u2"}]}],"versions":["1:4.3-3","1:4.3-3+deb9u1"]},{"source":"osv","ecosystem":"Debian:10","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-12+deb10u1"}]}],"versions":["1:4.3-12"]},{"source":"osv","ecosystem":"Debian:11","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.4-2+deb11u1"}]}],"versions":["1:4.4-2"]},{"source":"osv","ecosystem":"Mageia:8","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5-1.git5ae723.1.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-5.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-5.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::baseos","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-10.git1.el9"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::baseos","package":"squashfs-tools-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-10.git1.el9"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::baseos","package":"squashfs-tools-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-10.git1.el9"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-21.el8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"squashfs-tools-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-21.el8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"squashfs-tools-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-21.el8"}]}],"bundled":2},{"source":"osv","ecosystem":"Rocky Linux:9","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4-10.git1.el9"}]}],"bundled":2},{"source":"osv","ecosystem":"Rocky Linux:8","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3-21.el8"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-8.3.2"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-8.3.2"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.3","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.4","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Manager Proxy 4.2","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Manager Server 4.2","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 7.1","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap Micro 5.3","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap Micro 5.4","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.5","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-150300.3.3.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-3ubuntu2.16.04.3+esm1"}]}],"versions":["1:4.2+20130409-2.1","1:4.3-3","1:4.3-3ubuntu1","1:4.3-3ubuntu2","1:4.3-3ubuntu2.16.04.1","1:4.3-3ubuntu2.16.04.2","1:4.3-3ubuntu2.16.04.3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-6ubuntu0.18.04.3"}]}],"versions":["1:4.3-4ubuntu1","1:4.3-4ubuntu2","1:4.3-6","1:4.3-6ubuntu0.18.04.1","1:4.3-6ubuntu0.18.04.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.4-1ubuntu0.1"}]}],"versions":["1:4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-6ubuntu0.18.04.3"}]}],"versions":["1:4.3-4ubuntu1","1:4.3-4ubuntu2","1:4.3-6","1:4.3-6ubuntu0.18.04.1","1:4.3-6ubuntu0.18.04.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.4-1ubuntu0.1"}]}],"versions":["1:4.4-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"squashfs-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.3-3ubuntu2.16.04.3+esm1"}]}],"versions":["1:4.2+20130409-2.1","1:4.3-3","1:4.3-3ubuntu1","1:4.3-3ubuntu2","1:4.3-3ubuntu2.16.04.1","1:4.3-3ubuntu2.16.04.2","1:4.3-3ubuntu2.16.04.3"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"squashfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-2.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"squashfs-tools_project","product":"squashfs-tools"}],"references":[{"url":"https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646","tags":["x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/plougher/squashfs-tools/issues/72","tags":["x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790","tags":["x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4967","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202305-29","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40153","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/"},{"url":"https://github.com/advisories/GHSA-98f5-57cr-27p7"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-40153","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2396","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-40153","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-41072","tags":["report"]},{"url":"https://bugzilla.redhat.com/1998621","tags":["report"]},{"url":"https://bugzilla.redhat.com/2004957","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2024-2396.html","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3139","tags":["advisory"]},{"url":"https://errata.almalinux.org/8/ALSA-2024-3139.html","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-40153","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1750782908.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/centos7els/CLSA-2026-1777544697.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/rhel7els/CLSA-2026-1792439424.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/oraclelinux7els/CLSA-2026-1792440720.html","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40153","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0010.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29429","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5057-1","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-5078-1","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/RGPPMRX4FP3CLIZKZFB2DODGNHXHPYD6/","tags":["web"]},{"url":"https://www.debian.org/security/2021/dsa-4987","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-5078-3","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1425","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41072","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1998621","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2004957","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2396.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40153","tags":["advisory","report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41072","tags":["advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.10_release_notes/index","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3139.json","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2024:2396","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2024:3139","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20234424-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1133284","tags":["report"]},{"url":"https://bugzilla.suse.com/1160294","tags":["report"]},{"url":"https://bugzilla.suse.com/1189936","tags":["report"]},{"url":"https://bugzilla.suse.com/1190531","tags":["report"]},{"url":"https://bugzilla.suse.com/935380","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-4645","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-4646","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-40153","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-41072","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20234591-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20242463-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40153","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5078-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-41072","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-40153","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.","status":"published","published":"2021-08-27T00:00:00Z","modified":"2024-08-04T02:27:31.648Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-27338","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.","status":"published","published":"2021-08-27T00:00:00Z","modified":"2024-08-04T02:27:31Z","updated_at":"2026-11-03T03:24:21.368958Z"}],"ghsa":[{"id":"GHSA-98f5-57cr-27p7","title":"squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry...","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.","status":"published","published":"2022-05-24T19:12:24Z","modified":"2023-05-30T06:30:18Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:54:37.218716Z"}],"nvd":[{"id":"CVE-2021-40153","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.","status":"published","published":"2021-08-27T15:15:09.657Z","modified":"2026-06-17T04:06:36.063Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:57.67549Z"}],"osv":[{"id":"ALPINE-CVE-2021-40153","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.","status":"published","published":"2021-08-27T15:15:09.657Z","modified":"2026-10-23T17:17:56.209217558Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"AZL-7463","title":"CVE-2021-40153 affecting package squashfs-tools for versions less than 4.5.1-1","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.","status":"published","published":"2021-08-27T15:15:09Z","modified":"2026-04-21T04:38:45.59274Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:09.474476Z"},{"id":"BELL-CVE-2021-40153","title":"CVE-2021-40153 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:15.92401Z","modified":"2026-01-26T09:48:54.137305Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:16.5265Z"},{"id":"CVE-2021-40153","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.","status":"published","published":"2021-08-27T15:15:09.657Z","modified":"2026-10-20T14:29:55.748679663Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"DEBIAN-CVE-2021-40153","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.","status":"published","published":"2021-08-27T15:15:09.657Z","modified":"2026-10-23T18:03:32.652020255Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"OESA-2021-1425","title":"squashfs-tools security update","description":"Squashfs is a highly compressed read-only filesystem for Linux. It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes and directories.\r\n\r\nSecurity Fix(es):\r\n\r\nsquashfs_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)\r\n\r\nsquashfs_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)","status":"published","published":"2021-11-12T11:04:41Z","modified":"2026-08-18T01:15:38.144866964Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"RHSA-2024:2396","title":"Red Hat Security Advisory: squashfs-tools security update","status":"published","published":"2024-09-16T13:39:33Z","modified":"2026-03-18T11:33:42.439657Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:13.30378Z"},{"id":"RHSA-2024:3139","title":"Red Hat Security Advisory: squashfs-tools security update","status":"published","published":"2024-09-16T13:39:42Z","modified":"2025-11-22T13:16:24Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:13.30378Z"},{"id":"RLSA-2024:2396","title":"Moderate: squashfs-tools security update","description":"SquashFS is a highly compressed read-only file system for Linux. These packages contain the utilities for manipulating squashfs file systems.\n\nSecurity Fix(es):\n\n* squashfs-tools: unvalidated filepaths allow writing outside of destination (CVE-2021-40153)\n\n* squashfs-tools: possible Directory Traversal via symbolic link (CVE-2021-41072)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 9.4 Release Notes linked from the References section.","status":"published","published":"2025-05-07T19:13:03.633594Z","modified":"2025-10-07T17:40:31.380761Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:24.63379Z"},{"id":"UBUNTU-CVE-2021-40153","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.","status":"published","published":"2021-08-27T15:15:00Z","modified":"2026-02-05T07:37:22.88436Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"ALSA-2024:2396","title":"Moderate: squashfs-tools security update","description":"SquashFS is a highly compressed read-only file system for Linux. These packages contain the utilities for manipulating squashfs file systems.\n\nSecurity Fix(es):\n\n* squashfs-tools: unvalidated filepaths allow writing outside of destination (CVE-2021-40153)\n* squashfs-tools: possible Directory Traversal via symbolic link (CVE-2021-41072)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2024-04-30T00:00:00Z","modified":"2026-10-29T11:31:09.238818836Z","updated_at":"2026-11-02T15:27:52.553233Z"},{"id":"ALSA-2024:3139","title":"Moderate: squashfs-tools security update","description":"SquashFS is a highly compressed read-only file system for Linux. These packages contain the utilities for manipulating squashfs file systems.\n\nSecurity Fix(es):\n\n* squashfs-tools: unvalidated filepaths allow writing outside of destination (CVE-2021-40153)\n* squashfs-tools: possible Directory Traversal via symbolic link (CVE-2021-41072)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2024-05-22T00:00:00Z","modified":"2026-10-29T11:02:21.046587744Z","updated_at":"2026-11-02T15:27:52.553233Z"},{"id":"CLSA-2025-1750782908","title":"squashfs-tools: Fix of CVE-2021-40153","description":"- CVE-2021-40153: fix directory traversal vulnerability in squashfs_opendir by\n  validating filenames before creating new files","status":"published","published":"2025-06-24T16:35:13Z","modified":"2026-06-01T00:30:54.706818511Z","updated_at":"2026-11-02T15:43:41.66212Z"},{"id":"CLSA-2026-1777544697","title":"squashfs-tools: Fix of CVE-2021-40153","description":"- CVE-2021-40153: fix write outside destination directory in unsquashfs","status":"published","published":"2026-05-02T01:11:20Z","modified":"2026-06-01T00:33:18.692114436Z","updated_at":"2026-11-02T15:43:44.384419Z"},{"id":"CLSA-2026-1792439424","title":"squashfs-tools: Fix of CVE-2021-40153","description":"- CVE-2021-40153: fix write outside destination directory in unsquashfs","status":"published","published":"2026-10-19T19:50:35Z","modified":"2026-10-26T09:32:00.760999022Z","updated_at":"2026-11-02T15:43:54.119956Z"},{"id":"CLSA-2026-1792440720","title":"squashfs-tools: Fix of CVE-2021-40153","description":"- CVE-2021-40153: fix write outside destination directory in unsquashfs","status":"published","published":"2026-10-19T20:12:10Z","modified":"2026-10-26T09:31:46.452647102Z","updated_at":"2026-11-02T15:43:54.119956Z"},{"id":"DLA-2752-1","title":"squashfs-tools - security update","status":"published","published":"2021-08-31T00:00:00Z","modified":"2026-03-09T01:21:33.909895Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-4967-1","title":"squashfs-tools - security update","status":"published","published":"2021-09-04T00:00:00Z","modified":"2026-03-09T02:11:18.531685Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"MGASA-2022-0010","title":"Updated squashfs-tools packages fix security vulnerability","description":"squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename\nin the directory entry; this is then used by unsquashfs to create the new\nfile during the unsquash. The filename is not validated for traversal\noutside of the destination directory, and thus allows writing to locations\noutside of the destination. (CVE-2021-40153)\nsquashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory\nTraversal, a different vulnerability than CVE-2021-40153. A squashfs\nfilesystem that has been crafted to include a symbolic link and then\ncontents under the same filename in a filesystem can cause unsquashfs to\nfirst create the symbolic link pointing outside the expected directory,\nand then the subsequent write operation will cause the unsquashfs process\nto write through the symbolic link elsewhere in the filesystem.\n(CVE-2021-41072)\n","status":"published","published":"2022-01-11T07:12:42Z","modified":"2026-04-16T04:44:42.85080701Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"openSUSE-SU-2024:13035-1","title":"squashfs-4.6.1-2.1 on GA media","description":"These are all security issues fixed in the squashfs-4.6.1-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:02:37.640117Z","updated_at":"2026-11-02T16:58:36.025801Z"},{"id":"RLSA-2024:3139","title":"Moderate: squashfs-tools security update","description":"SquashFS is a highly compressed read-only file system for Linux. These packages contain the utilities for manipulating squashfs file systems.\n\nSecurity Fix(es):\n\n* squashfs-tools: unvalidated filepaths allow writing outside of destination (CVE-2021-40153)\n\n* squashfs-tools: possible Directory Traversal via symbolic link (CVE-2021-41072)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 8.10 Release Notes linked from the References section.","status":"published","published":"2024-06-14T13:59:16.809606Z","modified":"2026-02-04T13:30:09.114769Z","updated_at":"2026-11-02T15:53:24.63379Z"},{"id":"SUSE-SU-2023:4424-1","title":"Security update for squashfs","description":"This update for squashfs fixes the following issues:\n\n- CVE-2015-4645,CVE-2015-4646: Multiple buffer overflows fixed in squashfs-tools (bsc#935380)\n- CVE-2021-40153: Fixed an issue where an attacker might have been\n  able to write a file outside of destination (bsc#1189936)\n- CVE-2021-41072: Fixed an issue where an attacker might have been\n  able to write a file outside the destination directory via a\n  symlink (bsc#1190531).\n","status":"published","published":"2023-11-13T12:12:08Z","modified":"2026-02-04T04:06:53.577441Z","updated_at":"2026-11-02T15:53:53.865042Z"},{"id":"SUSE-SU-2023:4591-1","title":"Security update for squashfs","description":"This update for squashfs fixes the following issues:\n\n- CVE-2015-4645,CVE-2015-4646: Multiple buffer overflows fixed in squashfs-tools (bsc#935380)\n- CVE-2021-40153: Fixed an issue where an attacker might have been able to write a file outside of destination (bsc#1189936)\n- CVE-2021-41072: Fixed an issue where an attacker might have been\n  able to write a file outside the destination directory via a\n  symlink (bsc#1190531).\n\nupdate to 4.6.1:\n\n  * Race condition which can cause corruption of the 'fragment\n    table' fixed.  This is a regression introduced in August 2022,\n    and it has been seen when tailend packing is used (-tailends option).\n  * Fix build failure when the tools are being built without\n    extended attribute (XATTRs) support.\n  * Fix XATTR error message when an unrecognised prefix is\n    found\n  * Fix incorrect free of pointer when an unrecognised XATTR\n    prefix is found.\n  * Major improvements in extended attribute handling,\n    pseudo file handling, and miscellaneous new options and\n    improvements\n  * Extended attribute handling improved in Mksquashfs and\n    Sqfstar\n  * New Pseudo file xattr definition to add extended\n    attributes to files.\n  * New xattrs-add Action to add extended attributes to files\n  * Extended attribute handling improved in Unsquashfs\n  * Other major improvements\n  * Unsquashfs can now output Pseudo files to standard out.\n  * Mksquashfs can now input Pseudo files from standard in.\n  * Squashfs filesystems can now be converted (different\n    block size compression etc) without unpacking to an\n    intermediate filesystem or mounting, by piping the output of\n    Unsquashfs to Mksquashfs.\n  * Pseudo files are now supported by Sqfstar.\n  * 'Non-anchored' excludes are now supported by Unsquashfs.\n\nupdate to 4.5.1 (bsc#1190531, CVE-2021-41072):\n\n  * This release adds Manpages for Mksquashfs(1), Unsquashfs(1),\n    Sqfstar(1) and Sqfscat(1).\n  * The -help text output from the utilities has been improved\n    and extended as well (but the Manpages are now more\n    comprehensive).\n  * CVE-2021-41072 which is a writing outside of destination\n    exploit, has been fixed.\n  * The number of hard-links in the filesystem is now also\n    displayed by Mksquashfs in the output summary.\n  * The number of hard-links written by Unsquashfs is now\n    also displayed in the output summary.\n  * Unsquashfs will now write to a pre-existing destination\n    directory, rather than aborting.\n  * Unsquashfs now allows '.' to used as the destination, to\n    extract to the current directory.\n  * The Unsquashfs progress bar now tracks empty files and\n    hardlinks, in addition to data blocks.\n  * -no-hardlinks option has been implemented for Sqfstar.\n  * More sanity checking for 'corrupted' filesystems, including\n    checks for multiply linked directories and directory loops.\n  * Options that may cause filesystems to be unmountable have\n    been moved into a new 'experts' category in the Mksquashfs\n    help text (and Manpage).\n  * Maximum cpiostyle filename limited to PATH_MAX.  This\n    prevents attempts to overflow the stack, or cause system\n    calls to fail with a too long pathname.\n  * Don't always use 'max open file limit' when calculating\n    length of queues, as a very large file limit can cause\n    Unsquashfs to abort.  Instead use the smaller of max open\n    file limit and cache size.\n  * Fix Mksquashfs silently ignoring Pseudo file definitions\n    when appending.\n  * Don't abort if no XATTR support has been built in, and\n    there's XATTRs in the filesystem.  This is a regression\n    introduced in 2019 in Version 4.4.\n  * Fix duplicate check when the last file block is sparse.\n\nupdate to 4.5:\n\n  * Mksquashfs now supports 'Actions'.\n  * New sqfstar command which will create a Squashfs image from a tar archive.\n  * Tar style handling of source pathnames in Mksquashfs.\n  * Cpio style handling of source pathnames in Mksquashfs.\n  * New option to throttle the amount of CPU and I/O.\n  * Mksquashfs now allows no source directory to be specified.\n  * New Pseudo file 'R' definition which allows a Regular file\n    o be created with data stored within the Pseudo file.\n  * Symbolic links are now followed in extract files\n  * Unsquashfs now supports 'exclude' files.\n  * Max depth traversal option added.\n  * Unsquashfs can now output a 'Pseudo file' representing the\n    input Squashfs filesystem.\n  * New -one-file-system option in Mksquashfs.\n  * New -no-hardlinks option in Mksquashfs.\n  * Exit code in Unsquashfs changed to distinguish between\n    non-fatal errors (exit 2), and fatal errors (exit 1).\n  * Xattr id count added in Unsquashfs '-stat' output.\n  * Unsquashfs 'write outside directory' exploit fixed.\n  * Error handling in Unsquashfs writer thread fixed.\n  * Fix failure to truncate destination if appending aborted.\n  * Prevent Mksquashfs reading the destination file. \n","status":"published","published":"2023-11-27T13:32:32Z","modified":"2026-02-04T04:06:57.682639Z","updated_at":"2026-11-02T15:53:53.865042Z"},{"id":"SUSE-SU-2024:2463-1","title":"Security update for squashfs","description":"This update for squashfs fixes the following issues:\n\n- CVE-2015-4645,CVE-2015-4646: Multiple buffer overflows fixed in squashfs-tools (bsc#935380)\n- CVE-2021-40153: Fixed an issue where an attacker might have been able to write a file outside of destination (bsc#1189936)\n- CVE-2021-41072: Fixed an issue where an attacker might have been\n  able to write a file outside the destination directory via a\n  symlink (bsc#1190531).\n\nupdate to 4.6.1:\n\n  * Race condition which can cause corruption of the 'fragment\n    table' fixed.  This is a regression introduced in August 2022,\n    and it has been seen when tailend packing is used (-tailends option).\n  * Fix build failure when the tools are being built without\n    extended attribute (XATTRs) support.\n  * Fix XATTR error message when an unrecognised prefix is\n    found\n  * Fix incorrect free of pointer when an unrecognised XATTR\n    prefix is found.\n  * Major improvements in extended attribute handling,\n    pseudo file handling, and miscellaneous new options and\n    improvements\n  * Extended attribute handling improved in Mksquashfs and\n    Sqfstar\n  * New Pseudo file xattr definition to add extended\n    attributes to files.\n  * New xattrs-add Action to add extended attributes to files\n  * Extended attribute handling improved in Unsquashfs\n  * Other major improvements\n  * Unsquashfs can now output Pseudo files to standard out.\n  * Mksquashfs can now input Pseudo files from standard in.\n  * Squashfs filesystems can now be converted (different\n    block size compression etc) without unpacking to an\n    intermediate filesystem or mounting, by piping the output of\n    Unsquashfs to Mksquashfs.\n  * Pseudo files are now supported by Sqfstar.\n  * 'Non-anchored' excludes are now supported by Unsquashfs.\n\nupdate to 4.5.1 (bsc#1190531, CVE-2021-41072):\n\n  * This release adds Manpages for Mksquashfs(1), Unsquashfs(1),\n    Sqfstar(1) and Sqfscat(1).\n  * The -help text output from the utilities has been improved\n    and extended as well (but the Manpages are now more\n    comprehensive).\n  * CVE-2021-41072 which is a writing outside of destination\n    exploit, has been fixed.\n  * The number of hard-links in the filesystem is now also\n    displayed by Mksquashfs in the output summary.\n  * The number of hard-links written by Unsquashfs is now\n    also displayed in the output summary.\n  * Unsquashfs will now write to a pre-existing destination\n    directory, rather than aborting.\n  * Unsquashfs now allows '.' to used as the destination, to\n    extract to the current directory.\n  * The Unsquashfs progress bar now tracks empty files and\n    hardlinks, in addition to data blocks.\n  * -no-hardlinks option has been implemented for Sqfstar.\n  * More sanity checking for 'corrupted' filesystems, including\n    checks for multiply linked directories and directory loops.\n  * Options that may cause filesystems to be unmountable have\n    been moved into a new 'experts' category in the Mksquashfs\n    help text (and Manpage).\n  * Maximum cpiostyle filename limited to PATH_MAX.  This\n    prevents attempts to overflow the stack, or cause system\n    calls to fail with a too long pathname.\n  * Don't always use 'max open file limit' when calculating\n    length of queues, as a very large file limit can cause\n    Unsquashfs to abort.  Instead use the smaller of max open\n    file limit and cache size.\n  * Fix Mksquashfs silently ignoring Pseudo file definitions\n    when appending.\n  * Don't abort if no XATTR support has been built in, and\n    there's XATTRs in the filesystem.  This is a regression\n    introduced in 2019 in Version 4.4.\n  * Fix duplicate check when the last file block is sparse.\n\nupdate to 4.5:\n\n  * Mksquashfs now supports 'Actions'.\n  * New sqfstar command which will create a Squashfs image from a tar archive.\n  * Tar style handling of source pathnames in Mksquashfs.\n  * Cpio style handling of source pathnames in Mksquashfs.\n  * New option to throttle the amount of CPU and I/O.\n  * Mksquashfs now allows no source directory to be specified.\n  * New Pseudo file 'R' definition which allows a Regular file\n    o be created with data stored within the Pseudo file.\n  * Symbolic links are now followed in extract files\n  * Unsquashfs now supports 'exclude' files.\n  * Max depth traversal option added.\n  * Unsquashfs can now output a 'Pseudo file' representing the\n    input Squashfs filesystem.\n  * New -one-file-system option in Mksquashfs.\n  * New -no-hardlinks option in Mksquashfs.\n  * Exit code in Unsquashfs changed to distinguish between\n    non-fatal errors (exit 2), and fatal errors (exit 1).\n  * Xattr id count added in Unsquashfs '-stat' output.\n  * Unsquashfs 'write outside directory' exploit fixed.\n  * Error handling in Unsquashfs writer thread fixed.\n  * Fix failure to truncate destination if appending aborted.\n  * Prevent Mksquashfs reading the destination file. \n","status":"published","published":"2024-07-12T13:55:05Z","modified":"2026-02-04T03:47:30.033977Z","updated_at":"2026-11-02T15:53:55.136363Z"},{"id":"USN-5057-1","title":"squashfs-tools vulnerability","description":"Etienne Stalmans discovered that Squashfs-Tools mishandled certain malformed SQUASHFS files. An attacker could use this vulnerability to write arbitrary files to the filesystem.\n","status":"published","published":"2021-08-31T00:34:13Z","modified":"2026-02-10T04:42:17Z","updated_at":"2026-11-02T16:58:15.683829Z"},{"id":"USN-5078-2","title":"squashfs-tools vulnerabilities","description":"USN-5078-1 fixed several vulnerabilities in Squashfs-Tools.\nThis update provides the corresponding update for Ubuntu 16.04 ESM.\n\nOriginal advisory details:\n\n Etienne Stalmans discovered that Squashfs-Tools mishandled certain\n malformed SQUASHFS files. An attacker could use this vulnerability\n to write arbitrary files to the filesystem. (CVE-2021-40153)\n\n Richard Weinberger discovered that Squashfs-Tools mishandled certain\n malformed SQUASHFS files. An attacker could use this vulnerability to\n write arbitrary files to the filesystem. (CVE-2021-41072)\n","status":"published","published":"2021-09-15T15:26:33Z","modified":"2026-06-25T13:30:47.860888678Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
