Executive Summary

Summary
Title libarchive (formerly named as bsdtar): Multiple pax Extension Header Vulnerabilities
Informations
Name GLSA-200708-03 First vendor Publication 2007-08-08
Vendor Gentoo Last vendor Modification 2007-08-08
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 9.3 Attack Range Network
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Multiple vulnerabilities were found in libarchive (formerly named as app-archive/bsdtar), possibly allowing for the execution of arbitrary code or a Denial of Service.

Background

libarchive is a library for manipulating different streaming archive formats, including certain tar variants, several cpio formats, and both BSD and GNU ar variants.

Description

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.

Resolution

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

References

[ 1 ] CVE-2007-3641 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3641
[ 2 ] CVE-2007-3644 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3644
[ 3 ] CVE-2007-3645 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3645

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200708-03.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200708-03.xml

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:18768
 
Oval ID: oval:org.mitre.oval:def:18768
Title: DSA-1455-1 libarchive
Description: Several local/remote vulnerabilities have been discovered in libarchive1, a single library to read/write tar, cpio, pax, zip, iso9660 archives.
Family: unix Class: patch
Reference(s): DSA-1455-1
CVE-2007-3641
CVE-2007-3644
CVE-2007-3645
Version: 7
Platform(s): Debian GNU/Linux 4.0
Product(s): libarchive
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:8120
 
Oval ID: oval:org.mitre.oval:def:8120
Title: DSA-1455 libarchive1 -- denial of service
Description: Several local/remote vulnerabilities have been discovered in libarchive1, a single library to read/write tar, cpio, pax, zip, iso9660 archives. The Common Vulnerabilities and Exposures project identifies the following problems: It was discovered that libarchive1 would miscompute the length of a buffer resulting in a buffer overflow if yet another type of corruption occurred in a pax extension header. It was discovered that if an archive prematurely ended within a pax extension header the libarchive1 library could enter an infinite loop. If an archive prematurely ended within a tar header, immediately following a pax extension header, libarchive1 could dereference a NULL pointer. The old stable distribution (sarge), does not contain this package.
Family: unix Class: patch
Reference(s): DSA-1455
CVE-2007-3641
CVE-2007-3644
CVE-2007-3645
Version: 3
Platform(s): Debian GNU/Linux 4.0
Product(s): libarchive1
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 4

OpenVAS Exploits

Date Description
2008-09-24 Name : Gentoo Security Advisory GLSA 200708-03 (libarchive)
File : nvt/glsa_200708_03.nasl
2008-09-04 Name : FreeBSD Security Advisory (FreeBSD-SA-07:05.libarchive.asc)
File : nvt/freebsdsa_libarchive.nasl
2008-01-17 Name : Debian Security Advisory DSA 1455-1 (libarchive1)
File : nvt/deb_1455_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
38094 libarchive archive_read_support_format_tar.c TAR Archive Malformed PAX Extens...

38093 libarchive archive_read_support_format_tar.c PAX Archive Malformed PAX Extens...

38092 libarchive archive_read_support_format_tar.c Malformed PAX Extension Header H...

Nessus® Vulnerability Scanner

Date Description
2008-01-10 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1455.nasl - Type : ACT_GATHER_INFO
2007-10-17 Name : The remote openSUSE host is missing a security update.
File : suse_libarchive-3982.nasl - Type : ACT_GATHER_INFO
2007-08-13 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200708-03.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:01
  • Multiple Updates