CVE-2021-41072
HIGH8.1EPSS 3.6%squashfs-tools - security update
Published: 9/14/2021Modified: 12/3/2025
Also known as:ALPINE-CVE-2021-41072
Description
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.
Affected packages (4)
- Alpine/squashfs-toolsfrom 0, < 4.5-r1
- Debian/squashfs-toolsfrom 0, < 1:4.4-2+deb11u2
- Debian/squashfs-toolsfrom 0, < 1:4.3-3+deb9u3
- Debian/squashfs-toolsfrom 0, < 1:4.3-12+deb10u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |