Logo
vulnerabilityCVE-2021-40153
Name
CVE-2021-40153
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
squashfs-tools
Exploitable

Vulnerability Ratings#


8.1
CVSSv31
5.8
CVSSv2

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
4.6.1
Not Affected
buildroot
master
4.7.5
Not Affected
yocto
master
4.7.5
Not Affected
yocto
scarthgap
4.6.1
Not Affected