CVE-2021-41072

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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.1 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
VendorProductVersion
squashfs-tools_projectsquashfs-tools
4.5
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
squashfs-tools
bullseye (security)
1:4.4-2+deb11u2
fixed
bullseye
1:4.4-2+deb11u2
fixed
bookworm
1:4.5.1-1
fixed
sid
1:4.6.1-1
fixed
trixie
1:4.6.1-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
squashfs-tools
jammy
Fixed 1:4.4-2ubuntu2
released
impish
Fixed 1:4.4-2ubuntu2
released
hirsute
Fixed 1:4.4-2ubuntu0.2
released
focal
Fixed 1:4.4-1ubuntu0.2
released
bionic
Fixed 1:4.3-6ubuntu0.18.04.4
released
xenial
Fixed 1:4.3-3ubuntu2.16.04.3+esm1
released
trusty
dne