DSA-2047-1 aria2 -- insufficient input sanitising

Related Vulnerabilities: CVE-2010-1512  

A vulnerability was discovered in aria2, a download client. The "name" attribute of the "file" element of metalink files is not properly sanitised before using it to download files. If a user is tricked into downloading from a specially crafted metalink file, this can be exploited to download files to directories outside of the intended download directory. For the stable distribution (lenny), this problem has been fixed in version 0.14.0-1+lenny2. For the unstable distribution (sid), this problem has been fixed in version 1.9.3-1. We recommend that you upgrade your aria2 package.

Debian Security Advisory

DSA-2047-1 aria2 -- insufficient input sanitising

Date Reported:
17 May 2010
Affected Packages:
aria2
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2010-1512.
More information:

A vulnerability was discovered in aria2, a download client. The "name" attribute of the "file" element of metalink files is not properly sanitised before using it to download files. If a user is tricked into downloading from a specially crafted metalink file, this can be exploited to download files to directories outside of the intended download directory.

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

For the unstable distribution (sid), this problem has been fixed in version 1.9.3-1.

We recommend that you upgrade your aria2 package.

Fixed in:

Debian GNU/Linux 5.0 (lenny)

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

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