Your submission was sent successfully! Close

CVE-2021-40153

Published: 27 August 2021

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.

Priority

Medium

CVSS 3 base score: 8.1

Status

Package Release Status
squashfs-tools
Launchpad, Ubuntu, Debian
bionic
Released (1:4.3-6ubuntu0.18.04.3)
focal
Released (1:4.4-1ubuntu0.1)
hirsute
Released (1:4.4-2ubuntu0.1)
impish
Released (1:4.4-2ubuntu1)
jammy
Released (1:4.4-2ubuntu1)
trusty Does not exist

upstream Needs triage

xenial
Released (1:4.3-3ubuntu2.16.04.3+esm1)