CVE-2021-40153

Publication date 27 August 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

8.1 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
squashfs-tools 22.04 LTS jammy
Fixed 1:4.4-2ubuntu1
21.10 impish
Fixed 1:4.4-2ubuntu1
21.04 hirsute
Fixed 1:4.4-2ubuntu0.1
20.04 LTS focal
Fixed 1:4.4-1ubuntu0.1
18.04 LTS bionic
Fixed 1:4.3-6ubuntu0.18.04.3
16.04 LTS xenial
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Severity score breakdown

Parameter Value
Base score 8.1 · High
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