Debian DLA-2725-1 : lrzip - LTS security update

critical Nessus Plugin ID 152170

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-2725 advisory.

- The read_1g function in stream.c in liblrzip.so in lrzip 0.631 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted archive. (CVE-2017-8844)

- The read_stream function in stream.c in liblrzip.so in lrzip 0.631 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted archive. (CVE-2017-8846)

- In lrzip 0.631, a stack buffer overflow was found in the function get_fileinfo in lrzip.c:979, which allows attackers to cause a denial of service via a crafted file. (CVE-2017-9928)

- In lrzip 0.631, a stack buffer overflow was found in the function get_fileinfo in lrzip.c:1074, which allows attackers to cause a denial of service via a crafted file. (CVE-2017-9929)

- In Long Range Zip (aka lrzip) 0.631, there is a use-after-free in the lzma_decompress_buf function of stream.c, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact. (CVE-2018-10685)

- In Long Range Zip (aka lrzip) 0.631, there is a use-after-free in read_stream in stream.c, because decompress_file in lrzip.c lacks certain size validation. (CVE-2018-11496)

- In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the unzip_match function in runzip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted lrz file. (CVE-2018-5650)

- In Long Range Zip (aka lrzip) 0.631, there is a use-after-free in the ucompthread function (stream.c).
Remote attackers could leverage this vulnerability to cause a denial of service via a crafted lrz file.
(CVE-2018-5747)

- In Long Range Zip (aka lrzip) 0.631, there is an infinite loop and application hang in the get_fileinfo function (lrzip.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted lrz file. (CVE-2018-5786)

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 lrzip packages.

For Debian 9 stretch, these problems have been fixed in version 0.631-1+deb9u1.

See Also

https://security-tracker.debian.org/tracker/source-package/lrzip

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

https://security-tracker.debian.org/tracker/CVE-2017-8844

https://security-tracker.debian.org/tracker/CVE-2017-8846

https://security-tracker.debian.org/tracker/CVE-2017-9928

https://security-tracker.debian.org/tracker/CVE-2017-9929

https://security-tracker.debian.org/tracker/CVE-2018-10685

https://security-tracker.debian.org/tracker/CVE-2018-11496

https://security-tracker.debian.org/tracker/CVE-2018-5650

https://security-tracker.debian.org/tracker/CVE-2018-5747

https://security-tracker.debian.org/tracker/CVE-2018-5786

https://packages.debian.org/source/stretch/lrzip

Plugin Details

Severity: Critical

ID: 152170

File Name: debian_DLA-2725.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/2/2021

Updated: 12/6/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2018-10685

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:lrzip, 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/1/2021

Vulnerability Publication Date: 5/8/2017

Reference Information

CVE: CVE-2017-8844, CVE-2017-8846, CVE-2017-9928, CVE-2017-9929, CVE-2018-10685, CVE-2018-11496, CVE-2018-5650, CVE-2018-5747, CVE-2018-5786