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

high Nessus Plugin ID 154331

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-2789 advisory.

- squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem. (CVE-2021-41072)

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://packages.debian.org/source/stretch/squashfs-tools

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

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

Plugin Details

Severity: High

ID: 154331

File Name: debian_DLA-2789.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/21/2021

Updated: 10/21/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2021-41072

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/20/2021

Vulnerability Publication Date: 9/14/2021

Reference Information

CVE: CVE-2021-41072