CVE-2021-41072: squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability t
CVE-2021-41072 is a high-severity flaw (CVSS 8.1) affecting squashfs-tools, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-41072?
squashfs-tools: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-41072 being exploited?
CVE-2021-41072 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-41072 affect?
CVE-2021-41072 affects squashfs-tools, debian linux. Severity is high (CVSS 8.1). 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 filena
How urgent is CVE-2021-41072?
Priority 59/100. High severity; Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2021-40153 HIGH 8.1 DOWNGRADE MITIGATE squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is the