cURL: Certificate validation error
Gentoo Linux Security Advisory
||GLSA 200909-20 / curl
||September 25, 2009
||September 25, 2009: 01
All supported architectures
An error in the X.509 certificate handling of cURL might enable remote
attackers to conduct man-in-the-middle attacks.
cURL is a command line tool for transferring files with URL syntax,
supporting numerous protocols.
Scott Cantor reported that cURL does not properly handle fields in
X.509 certificates that contain an ASCII NUL (\0) character.
Specifically, the processing of such fields is stopped at the first
occurence 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
(that for instance contains a NUL character in the Common Name field)
to conduct man-in-the-middle attacks.
There is no known workaround at this time.
All cURL users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.19.6"