Ojuju Advisory
DEBIAN-CVE-2021-40153 Also known as: CVE-2021-40153
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Dates Published 2021-08-27 15:15 UTC Modified 2026-10-23 18:03 UTC
Affected packages and fixes squashfs-tools
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1:4.5-2 (ecosystem)
Fixed versions 1:4.5-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
squashfs-tools
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1:4.5-2 (ecosystem)
Fixed versions 1:4.5-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
squashfs-tools
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1:4.5-2 (ecosystem)
Fixed versions 1:4.5-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →