Debian DLA-2752-1 : squashfs-tools - LTS security update

high Nessus Plugin ID 152983

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2752 advisory.

- 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. (CVE-2021-40153)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the squashfs-tools packages.

For Debian 9 stretch, this problem has been fixed in version 1

See Also

http://www.nessus.org/u?d374def4

https://www.debian.org/lts/security/2021/dla-2752

https://security-tracker.debian.org/tracker/CVE-2021-40153

https://packages.debian.org/source/stretch/squashfs-tools

Plugin Details

Severity: High

ID: 152983

File Name: debian_DLA-2752.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/3/2021

Updated: 12/1/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2021-40153

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:squashfs-tools, p-cpe:/a:debian:debian_linux:squashfs-tools-dbg, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/31/2021

Vulnerability Publication Date: 8/27/2021

Reference Information

CVE: CVE-2021-40153