PT-2019-6092
CVE-2021-40153
·
Published
2019-09-10
·
Updated
2026-10-31
Description by
CVSS 3.1
8.1
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Squashfs-Tools version 4.5
Description
The issue is related to the
squashfs opendir function in the unsquash-1.c component of Squashfs-Tools. This function stores the filename in the directory entry, which is then used by unsquashfs to create the new file during the unsquash process. However, the filename is not validated for traversal outside of the destination directory, allowing writing to locations outside of the destination. This can be exploited by a remote attacker to compromise data integrity and cause a denial of service.Recommendations
For Squashfs-Tools version 4.5, as a temporary workaround, consider disabling the
squashfs opendir function until a patch is available. Restrict access to the unsquashfs component to minimize the risk of exploitation. Avoid using the unsquashfs command with untrusted input until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾