DSA-2011-1 dpkg -- path traversal

Related Vulnerabilities: CVE-2010-0396  

William Grant discovered that the dpkg-source component of dpkg, the low-level infrastructure for handling the installation and removal of Debian software packages, is vulnerable to path traversal attacks. A specially crafted Debian source package can lead to file modification outside of the destination directory when extracting the package content. For the stable distribution (lenny), this problem has been fixed in version 1.14.29. For the testing (squeeze) and unstable (sid) distribution this problem will be fixed soon. We recommend that you upgrade your dpkg packages.

Debian Security Advisory

DSA-2011-1 dpkg -- path traversal

Date Reported:
10 Mar 2010
Affected Packages:
dpkg
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2010-0396.
More information:

William Grant discovered that the dpkg-source component of dpkg, the low-level infrastructure for handling the installation and removal of Debian software packages, is vulnerable to path traversal attacks. A specially crafted Debian source package can lead to file modification outside of the destination directory when extracting the package content.

For the stable distribution (lenny), this problem has been fixed in version 1.14.29.

For the testing (squeeze) and unstable (sid) distribution this problem will be fixed soon.

We recommend that you upgrade your dpkg packages.

Fixed in:

Debian GNU/Linux 5.0 (lenny)

Source:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29.dsc
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg-dev_1.14.29_all.deb
Alpha:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_alpha.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_amd64.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_arm.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_arm.deb
ARM EABI:
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_armel.deb
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_armel.deb
HP Precision:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_hppa.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_i386.deb
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_ia64.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_ia64.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_mips.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_mipsel.deb
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_powerpc.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_s390.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_sparc.deb
http://security.debian.org/pool/updates/main/d/dpkg/dselect_1.14.29_sparc.deb

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