DSA-1223-1 tar -- input validation error

Related Vulnerabilities: CVE-2006-6097  

Teemu Salmela discovered a vulnerability in GNU tar that could allow a malicious user to overwrite arbitrary files by inducing the victim to attempt to extract a specially crafted tar file containing a GNUTYPE_NAMES record with a symbolic link. For the stable distribution (sarge), this problem has been fixed in version 1.14-2.3. For the unstable distribution (sid) and the forthcoming stable release (etch), this problem will be fixed in version 1.16-2. We recommend that you upgrade your tar package.

Debian Security Advisory

DSA-1223-1 tar -- input validation error

Date Reported:
01 Dec 2006
Affected Packages:
tar
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 399845.
In the Bugtraq database (at SecurityFocus): BugTraq ID 21235.
In Mitre's CVE dictionary: CVE-2006-6097.
More information:

Teemu Salmela discovered a vulnerability in GNU tar that could allow a malicious user to overwrite arbitrary files by inducing the victim to attempt to extract a specially crafted tar file containing a GNUTYPE_NAMES record with a symbolic link.

For the stable distribution (sarge), this problem has been fixed in version 1.14-2.3.

For the unstable distribution (sid) and the forthcoming stable release (etch), this problem will be fixed in version 1.16-2.

We recommend that you upgrade your tar package.

Fixed in:

Debian GNU/Linux 3.1 (stable)

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

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