Wget: Certificate validation error
Gentoo Linux Security Advisory
||GLSA 200910-01 / wget
||October 20, 2009
||October 20, 2009: 01
All supported architectures
An error in the X.509 certificate handling of Wget might enable remote
attackers to conduct man-in-the-middle attacks.
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:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/wget-1.12"