CVE catalog

CVE-2021-41072

squashfs-tools: CVE-2021-41072

[CVE catalog]

Severity
High · CVSS 8.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debiansquashfs-toolssid1:4.7.5-1fixed
Debiansquashfs-toolsforky1:4.7.5-1fixed
Debiansquashfs-toolstrixie1:4.6.1-1fixed
Debiansquashfs-toolsbookworm1:4.5.1-1fixed
Alpinesquashfs-tools3.144.5-r1fixed
Alpinesquashfs-tools3.154.5-r1fixed
Alpinesquashfs-tools3.164.5-r1fixed
Alpinesquashfs-tools3.174.5-r1fixed
Alpinesquashfs-tools3.184.5-r1fixed
Alpinesquashfs-tools3.194.5-r1fixed
Alpinesquashfs-tools3.204.5-r1fixed
Alpinesquashfs-tools3.214.5-r1fixed
Alpinesquashfs-tools3.224.5-r1fixed
Alpinesquashfs-tools3.234.5-r1fixed
Alpinesquashfs-tools3.244.5-r1fixed
Ubuntusquashfs-tools18.041:4.3-4ubuntu1vulnerable
Ubuntusquashfs-tools18.041:4.3-4ubuntu2vulnerable
Ubuntusquashfs-tools18.041:4.3-6vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.1vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.2vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.3vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.4fixed
Ubuntusquashfs-tools20.041:4.4-1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.2fixed
Ubuntusquashfs-tools20.041:4.4-1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.2vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.3fixed
Opensusesquashfstumbleweed4.5.1-1.1fixed
Ubuntusquashfs-toolspro1:4.2+20130409-2.1vulnerable
Ubuntusquashfs-toolspro1:4.3-3vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu1vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu2vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu2.16.04.1vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu2.16.04.2vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu2.16.04.3vulnerable
Ubuntusquashfs-toolspro1:4.3-3ubuntu2.16.04.3+esm1fixed
Ubuntusquashfs-tools18.041:4.3-4ubuntu1vulnerable
Ubuntusquashfs-tools18.041:4.3-4ubuntu2vulnerable
Ubuntusquashfs-tools18.041:4.3-6vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.1vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.2vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.3vulnerable
Ubuntusquashfs-tools18.041:4.3-6ubuntu0.18.04.4fixed
Ubuntusquashfs-tools20.041:4.4-1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.1vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.2vulnerable
Ubuntusquashfs-tools20.041:4.4-1ubuntu0.3fixed
Ubuntusquashfs-tools22.041:4.4-2ubuntu2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansquashfs-toolssourcesid1:4.5-3not yet assignedNot reported[994262]
Debiansquashfs-toolssourceforky1:4.5-3not yet assignedNot reported[994262]
Debiansquashfs-toolssourcetrixie1:4.5-3not yet assignedNot reported[994262]
Debiansquashfs-toolssourcebookworm1:4.5-3not yet assignedNot reported[994262]
Alpinesquashfs-toolsapk3.144.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.154.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.164.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.174.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.184.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.194.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.204.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.214.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.224.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.234.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Alpinesquashfs-toolsapk3.244.5-r1Not reportedALPINE-CVE-2021-41072Not reported
Ubuntusquashfs-toolsdeb18.041:4.3-6ubuntu0.18.04.4Not reportedUSN-5078-1Not reported
Ubuntusquashfs-toolsdeb20.041:4.4-1ubuntu0.2Not reportedUSN-5078-1Not reported
Ubuntusquashfs-toolsdeb20.041:4.4-1ubuntu0.3Not reportedUSN-5078-3Not reported
Opensusesquashfsrpmtumbleweed4.5.1-1.1Not reportedOPENSUSE-SU-2024:11986-1Not reported
Ubuntusquashfs-toolsdebpro1:4.3-3ubuntu2.16.04.3+esm1Not reportedUBUNTU-CVE-2021-41072Not reported
Ubuntusquashfs-toolsdeb18.041:4.3-6ubuntu0.18.04.4Not reportedUBUNTU-CVE-2021-41072Not reported
Ubuntusquashfs-toolsdeb20.041:4.4-1ubuntu0.3Not reportedUBUNTU-CVE-2021-41072Not reported
Ubuntusquashfs-toolsdeb22.041:4.4-2ubuntu2Not reportedUBUNTU-CVE-2021-41072Not reported

[Debian bug #994262]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1:4.5.1-1 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-3

      dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12

    • 1:4.5.1-1 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-3

      dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12

[Debian 13 (Trixie)]

  • Source package: [squashfs-tools]

    Details (2)
    • 1:4.6.1-1 · amd64 · trixie

      Fixed · Fixed: 1:4.5-3

      dsa · squashfs-tools · debian · 13

    • 1:4.6.1-1+b1 · arm64 · trixie

      Fixed · Fixed: 1:4.5-3

      dsa · squashfs-tools · debian · 13

[openSUSE Tumbleweed]

  • [squashfs]Fixed

    Source package: [squashfs]

    Details (1)
    • 4.6.1-2.10 · x86_64 · tumbleweed

      Fixed · Fixed: 4.5.1-1.1

      dsa · squashfs · opensuse · tumbleweed

Observed:

References