DSA-2088-1 wget -- missing input sanitization

Related Vulnerabilities: CVE-2010-2252  

It was discovered that wget, a command line tool for downloading files from the WWW, uses server-provided file names when creating local files. This may lead to code execution in some scenarios. After this update, wget will ignore server-provided file names. You can restore the old behavior in cases where it is not desirable by invoking wget with the new --use-server-file-name option. For the stable distribution (lenny), this problem has been fixed in version 1.11.4-2+lenny2. For the unstable distribution (sid), this problem will be fixed soon. We recommend that you upgrade your wget package.

Debian Security Advisory

DSA-2088-1 wget -- missing input sanitization

Date Reported:
05 Aug 2010
Affected Packages:
wget
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 590296.
In Mitre's CVE dictionary: CVE-2010-2252.
More information:

It was discovered that wget, a command line tool for downloading files from the WWW, uses server-provided file names when creating local files. This may lead to code execution in some scenarios.

After this update, wget will ignore server-provided file names. You can restore the old behavior in cases where it is not desirable by invoking wget with the new --use-server-file-name option.

For the stable distribution (lenny), this problem has been fixed in version 1.11.4-2+lenny2.

For the unstable distribution (sid), this problem will be fixed soon.

We recommend that you upgrade your wget package.

Fixed in:

Debian GNU/Linux 5.0 (lenny)

Source:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4.orig.tar.gz
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2.dsc
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2.diff.gz
Alpha:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_arm.deb
ARM EABI:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_armel.deb
HP Precision:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_ia64.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenny2_sparc.deb

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