CVE & CISA-KEV Catalog

CVE-2021-41072

HIGHEPSS 80th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
squashfs-toolsDebian
Fixed in:1:4.4-2+deb11u2CVE-2021-41072
Fixed in:1:4.5-3CVE-2021-41072
Fixed in:1:4.5-3CVE-2021-41072
Fixed in:1:4.5-3CVE-2021-41072
squashfs-toolsRocky
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-toolsRed Hat / RHEL
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-tools-debuginfoRocky
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-tools-debuginfoRed Hat / RHEL
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-tools-debugsourceRed Hat / RHEL
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-tools-debugsourceRocky
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.3-21.el8RHSA-2024:3139
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
Fixed in:0:4.4-10.git1.el9RHSA-2024:2396
squashfs-toolsUbuntu
Fixed in:1:4.3-3ubuntu2.16.04.3+esm1USN-5078-2
Fixed in:1:4.3-6ubuntu0.18.04.4USN-5078-1
Fixed in:1:4.4-1ubuntu0.2USN-5078-1
Fixed in:1:4.4-1ubuntu0.3USN-5078-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Exploit Intelligence

2.14%probability of exploitation in 30 days
80thpercentile

Elevated risk: more likely to be exploited than 80% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Other references1

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2021-41072
CVE-2021-41072 severity badge

Markdown

[![CVE-2021-41072](https://tridentstack.com/cve/badge/CVE-2021-41072.svg)](https://tridentstack.com/cve/CVE-2021-41072)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41072"><img src="https://tridentstack.com/cve/badge/CVE-2021-41072.svg" alt="CVE-2021-41072"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.