Skip to main content
No exploitation reportedFix available

CVE-2021-41072

No exploitation reported by the sources we read.

  • Published2021-09-14
  • WeaknessCWE-22 · CWE-59

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2021-09-1401:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
11.0= 11.0no fix published
Squashfs-tools project squashfs-tools
BranchAffectedFixed in
4.5= 4.5no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • squashfsSUSE:Manager Server 4.2all versions · fixed in 4.6.1-150300.3.3.1
  • squashfsSUSE:Manager Proxy 4.2all versions · fixed in 4.6.1-150300.3.3.1
  • squashfsSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 4.6.1-150300.3.3.1
  • squashfsSUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 4.6.1-8.3.2
  • squashfsSUSE:Linux Enterprise Server 15 SP3-LTSSall versions · fixed in 4.6.1-150300.3.3.1
  • squashfsSUSE:Linux Enterprise Server 12 SP5all versions · fixed in 4.6.1-8.3.2
  • squashfsSUSE:Linux Enterprise Module for Basesystem 15 SP5all versions · fixed in 4.6.1-150300.3.3.1
  • squashfsSUSE:Linux Enterprise Module for Basesystem 15 SP4all versions · fixed in 4.6.1-150300.3.3.1

48 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-41072 Red Hat Product Security26 products fixed · 2 known affected

    squashfs-tools: possible Directory Traversal via symbolic link

    squashfs-tools.src as a component of Red Hat Enterprise Linux 6 · squashfs-tools.src as a component of Red Hat Enterprise Linux 7

  • RHSA-2024:3139 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: squashfs-tools security update

  • RHSA-2024:2396 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: squashfs-tools security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2024:3139 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2021-41072 · 1 productOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2021-41072 · 1 productWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Published
2021-09-14
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-f6m6-9fjw-69qm

Frequently asked questions

What is CVE-2021-41072?

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.

Is CVE-2021-41072 actively exploited?

Active exploitation of CVE-2021-41072 has not been confirmed. Its EPSS score was 2.3% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-41072?

CVE-2021-41072 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.

Running squashfs-tools? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record