This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2021-40153 →
DEBIAN-CVE-2021-40153
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 f...
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
squashfs-tools
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]
Debian:13
squashfs-tools
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]
Debian:14
squashfs-tools
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-2"}]}]
References
- advisory security-tracker.debian.org