<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200711-18 ] Cpio: Buffer overflow



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200711-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Cpio: Buffer overflow
      Date: November 14, 2007
      Bugs: #196978
        ID: 200711-18

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

Synopsis
========

GNU cpio contains a buffer overflow vulnerability, possibly resulting
in a Denial of Service.

Background
==========

GNU cpio copies files into or out of a cpio or tar archive.

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

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  app-arch/cpio      < 2.9-r1                             >= 2.9-r1

Description
===========

A buffer overflow vulnerability in the safer_name_suffix() function in
GNU cpio has been discovered.

Impact
======

A remote attacker could entice a user to open a specially crafted
archive file resulting in a stack-based buffer overflow, possibly
crashing the application. It is disputed whether the execution of
arbitrary code is possible.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GNU cpio users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/cpio-2.9-r1"

References
==========

  [ 1 ] CVE-2007-4476
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4476

Availability
============

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

  http://security.gentoo.org/glsa/glsa-200711-18.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@xxxxxxxxxx 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHO2u2uhJ+ozIKI5gRAmnOAJwMQ1PcCPV7njoFZjURGIq8yaMcNwCglXrY
rzGwkgPMnvNOL4Kevl6kEns=
=m21S
-----END PGP SIGNATURE-----