An error in the X.509 certificate handling of cURL might enable remote attackers to conduct man-in-the-middle attacks.
Package | net-misc/curl on all architectures |
---|---|
Affected versions | < 7.19.6 |
Unaffected versions | >= 7.19.6 |
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:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/curl-7.19.6"
Release date
September 25, 2009
Latest revision
September 25, 2009: 01
Severity
normal
Exploitable
remote
Bugzilla entries