GLSA-200708-03 : libarchive (formerly named as bsdtar): Multiple PaX Extension Header Vulnerabilities

high Nessus Plugin ID 25868

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200708-03 (libarchive (formerly named as bsdtar): Multiple PaX Extension Header Vulnerabilities)

CPNI, CERT-FI, Tim Kientzle, and Colin Percival reported a buffer overflow (CVE-2007-3641), an infinite loop (CVE-2007-3644), and a NULL pointer dereference (CVE-2007-3645) within the processing of archives having corrupted PaX extension headers.
Impact :

An attacker can trick a user or automated system to process an archive with malformed PaX extension headers into execute arbitrary code, crash an application using the library, or cause a high CPU load.
Workaround :

There is no known workaround at this time.

Solution

All libarchive or bsdtar users should upgrade to the latest libarchive version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/libarchive-2.2.4'

See Also

https://security.gentoo.org/glsa/200708-03

Plugin Details

Severity: High

ID: 25868

File Name: gentoo_GLSA-200708-03.nasl

Version: 1.18

Type: local

Published: 8/13/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/8/2007

Vulnerability Publication Date: 7/10/2007

Reference Information

CVE: CVE-2007-3641, CVE-2007-3644, CVE-2007-3645

BID: 24885

GLSA: 200708-03