Live threats

All CVEs / Squashfs-tools Project

CVE-2021-41072Squashfs-tools Project Squashfs-tools

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Sep 14, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-59
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

What happens

squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.

Original NVD text.

What to do

  1. Apply the vendor's security update for Squashfs-tools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
squashfs-tools_projectsquashfs-tools4.5
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.