
CVE catalog
CVE-2021-41072
squashfs-tools: CVE-2021-41072
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | squashfs-tools | sid | 1:4.7.5-1 | fixed |
| Debian | squashfs-tools | forky | 1:4.7.5-1 | fixed |
| Debian | squashfs-tools | trixie | 1:4.6.1-1 | fixed |
| Debian | squashfs-tools | bookworm | 1:4.5.1-1 | fixed |
| Alpine | squashfs-tools | 3.14 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.15 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.16 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.17 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.18 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.19 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.20 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.21 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.22 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.23 | 4.5-r1 | fixed |
| Alpine | squashfs-tools | 3.24 | 4.5-r1 | fixed |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-4ubuntu1 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-4ubuntu2 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.1 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.2 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.3 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.4 | fixed |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.2 | fixed |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.2 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.3 | fixed |
| Opensuse | squashfs | tumbleweed | 4.5.1-1.1 | fixed |
| Ubuntu | squashfs-tools | pro | 1:4.2+20130409-2.1 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu1 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu2 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu2.16.04.1 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu2.16.04.2 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu2.16.04.3 | vulnerable |
| Ubuntu | squashfs-tools | pro | 1:4.3-3ubuntu2.16.04.3+esm1 | fixed |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-4ubuntu1 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-4ubuntu2 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.1 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.2 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.3 | vulnerable |
| Ubuntu | squashfs-tools | 18.04 | 1:4.3-6ubuntu0.18.04.4 | fixed |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.1 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.2 | vulnerable |
| Ubuntu | squashfs-tools | 20.04 | 1:4.4-1ubuntu0.3 | fixed |
| Ubuntu | squashfs-tools | 22.04 | 1:4.4-2ubuntu2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | squashfs-tools | source | sid | 1:4.5-3 | not yet assigned | Not reported | [994262] |
| Debian | squashfs-tools | source | forky | 1:4.5-3 | not yet assigned | Not reported | [994262] |
| Debian | squashfs-tools | source | trixie | 1:4.5-3 | not yet assigned | Not reported | [994262] |
| Debian | squashfs-tools | source | bookworm | 1:4.5-3 | not yet assigned | Not reported | [994262] |
| Alpine | squashfs-tools | apk | 3.14 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.15 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.16 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.17 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.18 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.19 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.20 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.21 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.22 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.23 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Alpine | squashfs-tools | apk | 3.24 | 4.5-r1 | Not reported | ALPINE-CVE-2021-41072 | Not reported |
| Ubuntu | squashfs-tools | deb | 18.04 | 1:4.3-6ubuntu0.18.04.4 | Not reported | USN-5078-1 | Not reported |
| Ubuntu | squashfs-tools | deb | 20.04 | 1:4.4-1ubuntu0.2 | Not reported | USN-5078-1 | Not reported |
| Ubuntu | squashfs-tools | deb | 20.04 | 1:4.4-1ubuntu0.3 | Not reported | USN-5078-3 | Not reported |
| Opensuse | squashfs | rpm | tumbleweed | 4.5.1-1.1 | Not reported | OPENSUSE-SU-2024:11986-1 | Not reported |
| Ubuntu | squashfs-tools | deb | pro | 1:4.3-3ubuntu2.16.04.3+esm1 | Not reported | UBUNTU-CVE-2021-41072 | Not reported |
| Ubuntu | squashfs-tools | deb | 18.04 | 1:4.3-6ubuntu0.18.04.4 | Not reported | UBUNTU-CVE-2021-41072 | Not reported |
| Ubuntu | squashfs-tools | deb | 20.04 | 1:4.4-1ubuntu0.3 | Not reported | UBUNTU-CVE-2021-41072 | Not reported |
| Ubuntu | squashfs-tools | deb | 22.04 | 1:4.4-2ubuntu2 | Not reported | UBUNTU-CVE-2021-41072 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [squashfs-tools]Fixed
Details (2)
1:4.5.1-1· amd64 · bookwormFixed · Fixed:
1:4.5-3dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12
1:4.5.1-1· arm64 · bookwormFixed · Fixed:
1:4.5-3dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12
[Debian 13 (Trixie)]
- [squashfs-tools]Fixed
Source package: [squashfs-tools]
Details (2)
1:4.6.1-1· amd64 · trixieFixed · Fixed:
1:4.5-3dsa · squashfs-tools · debian · 13
1:4.6.1-1+b1· arm64 · trixieFixed · Fixed:
1:4.5-3dsa · squashfs-tools · debian · 13
[openSUSE Tumbleweed]
Observed:
References
- [https://access.redhat.com/errata/RHSA-2024:3139]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_3139.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-41072]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-41072]
- [https://osv.dev/vulnerability/DLA-2789-1]
- [https://osv.dev/vulnerability/DSA-4987-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-41072]
- [https://osv.dev/vulnerability/USN-5078-1]
- [https://osv.dev/vulnerability/USN-5078-3]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11986-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-41072]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0995.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]