Vulnerability

CVE-2021-40153

highCVSS 3.1 8.1Published 27 Aug 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Fedoraproject fedora
  • Red Hat enterprise linux
  • Squashfs Tools Project squashfs-tools

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning