DSA-1566-1 cpio -- programming error

Related Vulnerabilities: CVE-2007-4476  

Dmitry Levin discovered a vulnerability in path handling code used by the cpio archive utility. The weakness could enable a denial of service (crash) or potentially the execution of arbitrary code if a vulnerable version of cpio is used to extract or to list the contents of a maliciously crafted archive. For the stable distribution (etch), these problems have been fixed in version 2.6-18.1+etch1. For the unstable distribution (sid), these problems have been fixed in version 2.9-5. We recommend that you upgrade your cpio packages.

Debian Security Advisory

DSA-1566-1 cpio -- programming error

Date Reported:
02 May 2008
Affected Packages:
cpio
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2007-4476.
More information:

Dmitry Levin discovered a vulnerability in path handling code used by the cpio archive utility. The weakness could enable a denial of service (crash) or potentially the execution of arbitrary code if a vulnerable version of cpio is used to extract or to list the contents of a maliciously crafted archive.

For the stable distribution (etch), these problems have been fixed in version 2.6-18.1+etch4.

For the unstable distribution (sid), these problems have been fixed in version 2.9-5.

We recommend that you upgrade your cpio packages.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Source:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6.orig.tar.gz
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4.dsc
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4.diff.gz
Alpha:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_arm.deb
HP Precision:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_ia64.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.6-18.1+etch4_sparc.deb

MD5 checksums of the listed files are available in the original advisory.