GLSA 200708-03 libarchive (formerly named as bsdtar): Multiple pax Extension Header Vulnerabilities
Posted on: 08/09/2007 02:00 AM

A new security update has been released for Gentoo Linux - libarchive (formerly named as bsdtar): Multiple pax Extension Header Vulnerabilities. Here the announcement:

Gentoo Linux Security Advisory GLSA 200708-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: libarchive (formerly named as bsdtar): Multiple pax
Extension Header Vulnerabilities
Date: August 08, 2007
Bugs: #184984
ID: 200708-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/libarchive lt; 2.2.4 gt;= 2.2.4

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 "gt;=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

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200708_03_libarchive_formerly_named_as_bsdtar_multiple_pax_extension_header_vulnerabilities.html)