Debian DSA-5145-1 : lrzip - security update

critical Nessus Plugin ID 161494

Synopsis

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

Description

The remote Debian 10 / 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dsa-5145 advisory.

- 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)

- A null pointer dereference was discovered lzo_decompress_buf in stream.c in Irzip 0.621 which allows an attacker to cause a denial of service (DOS) via a crafted compressed file. (CVE-2020-25467)

- A null pointer dereference was discovered in ucompthread in stream.c in Irzip 0.631 which allows attackers to cause a denial of service (DOS) via a crafted compressed file. (CVE-2021-27345)

- Use after free in lzma_decompress_buf function in stream.c in Irzip 0.631 allows attackers to cause Denial of Service (DoS) via a crafted compressed file. (CVE-2021-27347)

- lrzip v0.641 was discovered to contain a multiple concurrency use-after-free between the functions zpaq_decompress_buf() and clear_rulist(). This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted Irz file. (CVE-2022-26291)

- Irzip v0.640 was discovered to contain a heap memory corruption via the component lrzip.c:initialise_control. (CVE-2022-28044)

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

Solution

Upgrade the lrzip packages.

For the stable distribution (bullseye), these problems have been fixed in version 0.641-1+deb11u1.

See Also

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

https://www.debian.org/security/2022/dsa-5145

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

https://security-tracker.debian.org/tracker/CVE-2020-25467

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

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

https://security-tracker.debian.org/tracker/CVE-2022-26291

https://security-tracker.debian.org/tracker/CVE-2022-28044

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

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

Plugin Details

Severity: Critical

ID: 161494

File Name: debian_DSA-5145.nasl

Version: 1.3

Type: local

Agent: unix

Published: 5/24/2022

Updated: 10/26/2023

Supported Sensors: Agentless 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-2022-28044

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:10.0, cpe:/o:debian:debian_linux:11.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: 5/24/2022

Vulnerability Publication Date: 1/19/2018

Reference Information

CVE: CVE-2018-5786, CVE-2020-25467, CVE-2021-27345, CVE-2021-27347, CVE-2022-26291, CVE-2022-28044