GLSA-202208-26 : libarchive: Multiple Vulnerabilities

high Nessus Plugin ID 164119

Description

The remote host is affected by the vulnerability described in GLSA-202208-26 (libarchive: Multiple Vulnerabilities)

- libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block). (CVE-2021-36976)

- Libarchive v3.6.0 was discovered to contain an out-of-bounds read via the component zipx_lzma_alone_init.
(CVE-2022-26280)

- ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2022-26280. Reason: This candidate is a duplicate of CVE-2022-26280. Notes: All CVE users should reference CVE-2022-26280 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage. (CVE-2022-28066)

- libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive (CVE-2021-31566)

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

Solution

All libarchive users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-arch/libarchive-3.6.1

See Also

https://security.gentoo.org/glsa/202208-26

https://bugs.gentoo.org/show_bug.cgi?id=803128

https://bugs.gentoo.org/show_bug.cgi?id=836352

https://bugs.gentoo.org/show_bug.cgi?id=837266

Plugin Details

Severity: High

ID: 164119

File Name: gentoo_GLSA-202208-26.nasl

Version: 1.3

Type: local

Published: 8/15/2022

Updated: 10/16/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2022-26280

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

CVSS Score Source: CVE-2021-31566

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:libarchive

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/14/2022

Vulnerability Publication Date: 7/20/2021

Reference Information

CVE: CVE-2021-31566, CVE-2021-36976, CVE-2022-26280, CVE-2022-28066