Rapid7

vulnerability

Huawei EulerOS: CVE-2021-40153: squashfs-tools security update

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:P)
Published
Aug 27, 2021
Added
Nov 12, 2021
Modified
Apr 1, 2026

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.

Solution

huawei-euleros-2_0_sp9-upgrade-squashfs-tools
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.