CVE-2021-40153
moderate-risk
Published 2021-08-27
squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.
Do I need to act?
-
0.54% chance of exploitation
EPSS score — low exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
8
CVSS 8.1/10
High
NETWORK
/ LOW complexity
Affected Products (7)
Affected Vendors
References (16)
Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790
Third Party Advisory
https://www.debian.org/security/2021/dsa-4967
Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790
Third Party Advisory
https://www.debian.org/security/2021/dsa-4967
44
/ 100
moderate-risk
Severity
28/34 · Critical
Exploitability
2/34 · Minimal
Exposure
14/34 · Moderate