CVE-2021-41072 is a directory traversal vulnerability in Squashfs-Tools 4.5, specifically within the squashfs_opendir function in unsquash-2.c. This flaw allows a specially crafted squashfs filesystem, containing a symbolic link and a file with the same name, to trick the unsquashfs utility into writing data outside of its intended directory. Affected products include Debian Linux and Squashfs-Tools. The vulnerability carries a high severity CVSS score of 8.1, indicating a high impact on integrity and availability, with a network attack vector and low attack complexity requiring user interaction. An attacker could leverage this to write arbitrary files to unintended locations on the filesystem. Currently, there is no evidence of active exploitation, nor are there publicly available exploit modules in Metasploit, Nuclei, or ExploitDB. The vulnerability has also received minimal community discussion and media coverage, suggesting a low level of public awareness.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
4.5CPE matchmatch criteria | cpe:2.3:a:squashfs-tools_project:squashfs-tools:4.5:*:*:*:*:*:*:* | ||
9.0CPE matchmatch criteria | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | ||
10.0CPE matchmatch criteria | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | ||
11.0CPE matchmatch criteria | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.
CVE-2021-41072
Jan 11, 2022squashfs_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.
Sep 14, 2021squashfs-tools: possible Directory Traversal via symbolic link
Sep 14, 2021