Wget: Certificate validation error An error in the X.509 certificate handling of Wget might enable remote attackers to conduct man-in-the-middle attacks. wget 2009-10-20 2009-10-20 286058 remote 1.12 1.12

GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols.

The vendor reported that Wget does not properly handle Common Name (CN) fields in X.509 certificates that contain an ASCII NUL (\0) character. Specifically, the processing of such fields is stopped at the first occurrence of a NUL character. This type of vulnerability was recently discovered by Dan Kaminsky and Moxie Marlinspike.

A remote attacker might employ a specially crafted X.509 certificate, containing a NUL character in the Common Name field to conduct man-in-the-middle attacks on SSL connections made using Wget.

There is no known workaround at this time.

All Wget users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/wget-1.12"
CVE-2009-3490 a3li a3li a3li