Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.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 Severity Score

8.1

Score breakdown

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)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)

Severity score breakdown

Parameter Value
Base score 8.1
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H