DSA-1438-1 tar -- several vulnerabilities

Related Vulnerabilities: CVE-2007-4131   CVE-2007-4476  

Several vulnerabilities have been discovered in GNU Tar. The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2007-4131 A directory traversal vulnerability enables attackers using specially crafted archives to extract contents outside the directory tree created by tar. CVE-2007-4476 A stack-based buffer overflow in the file name checking code may lead to arbitrary code execution when processing maliciously crafted archives. For the old stable distribution (sarge), these problems have been fixed in version 1.14-2.4. For the stable distribution (etch), these problems have been fixed in version 1.16-2etch1. For the unstable distribution (sid), these problems have been fixed in version 1.18-2. We recommend that you upgrade your tar package.

Debian Security Advisory

DSA-1438-1 tar -- several vulnerabilities

Date Reported:
28 Dec 2007
Affected Packages:
tar
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2007-4131, CVE-2007-4476.
More information:

Several vulnerabilities have been discovered in GNU Tar. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2007-4131

    A directory traversal vulnerability enables attackers using specially crafted archives to extract contents outside the directory tree created by tar.

  • CVE-2007-4476

    A stack-based buffer overflow in the file name checking code may lead to arbitrary code execution when processing maliciously crafted archives.

For the old stable distribution (sarge), these problems have been fixed in version 1.14-2.4.

For the stable distribution (etch), these problems have been fixed in version 1.16-2etch4.

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

We recommend that you upgrade your tar package.

Fixed in:

Debian GNU/Linux 3.1 (oldstable)

Source:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14.orig.tar.gz
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4.dsc
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4.diff.gz
Alpha:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_arm.deb
HP Precision:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_ia64.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_m68k.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/t/tar/tar_1.14-2.4_sparc.deb

Debian GNU/Linux 4.0 (stable)

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

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