Websites customers mp3 and Great Ringtones
cURL - Security
cURL
Haxx ad
libcurl
Mirror: AT AU DE1 DE2 DE3 DE4 DE5 DE6 DE7 DK FR NL RU SE TW US1 US2 US3 US4 US5 US6 US7 US8 US9 US10 US11 US12





COMPARE PRICES:
Digital cameras, MP3 Players, Camcorders, Mobile phones, PDA, Computers, Electronics LCD monitors, Printers, Notebook, DVD Players, Motherboards, TV, ipod, Processors. See all...

SD CARDS AUSTRALIA
1GB SD Card
1GB Compact Flash
Secure Digital Cards
Compact Flash Cards
Transflash Cards
USB Flash Drives
MP3 Players Australia
Memory Stick PRO Duo

SourceForge.net Logo

cURL > Docs > Security

curl Security

We take security seriously and develop curl and libcurl to be secure and safe.

If you find or simply suspect a security problem in curl or libcurl, mail us at curl-security at haxx.se (closed list of receivers, mails are not disclosed) and tell.

We appreciate getting notified in advance before you go public with security advisories for the sake of our users.

libcurl URL Buffer Overflow

Date:December 7, 2005
IDBID 15756 SA17907 CVE-2005-4077 (permalink)
Affected versionscurl and libcurl 7.11.2 to and including 7.15.0
Not affected versionscurl and libcurl 7.11.1 and earlier, 7.15.1 and later
Patchlibcurl-urllen.patch
Advisories Project cURL Security Advisory Hardened-PHP Advisory

libcurl's URL parser function can overflow a malloced buffer in two ways, if given a too long URL.

libcurl NTLM Buffer Overflow

Date:October 13, 2005
IDBID 15102 CAN-2005-3185 (permalink)
Affected versionscurl and libcurl 7.10.6 to and including 7.14.1
Not affected versionscurl and libcurl 7.10.5 and earlier, 7.15.0 and later
Patchlibcurl-ntlmbuf.patch
AdvisoriesProject cURL Security Advisory, iDEFENSE's advisory

libcurl's NTLM function can overflow a stack-based buffer if given a too long user name or domain name. This would happen if you enable NTLM authentication and either:

  1. pass in a user name and domain name to libcurl that together are longer than 192 bytes
  2. allow (lib)curl to follow HTTP "redirects" (Location: and the appropriate HTTP 30x response code) and the new URL contains a URL with a user name and domain name that together are longer than 192 bytes

There is no known exploit/malicious server at the time of this writing.

The notification mail to us about this flaw was also sent to a public wget mailing list and thus became public immediately.

Kerberos Authentication Buffer Overflow

Date: February 21, 2005
ID: BID 12616 CAN-2005-0490 (permalink)
Affected versions: 7.3 to and including 7.13.0
Not affected versions: 7.13.1 and later

Due to bad usage of the base64 decode function to a stack-based buffer without checking the data length, it was possible for a malicious FTP server to overflow the client during krb4 negotiation. I don't know of any single user that uses krb4-ftp and I'm not even sure it still works 100%. The announcement was done without contacting us.

NTLM Authentication Buffer Overflow

Date: February 21, 2005
ID: BID 12615 CAN-2005-0490 (permalink)
Affected versions: 7.10.6 to and including 7.13.0
Not affected versions: 7.13.1 and later

Due to bad usage of the base64 decode function to a stack-based buffer without checking the data length, it was possible for a malicious HTTP server to overflow the client during NTLM negotiation. The announcement was done without contacting us.

Proxy Authentication Header Information Leakage

Date: August 3, 2003
ID: BID 8432 (permalink)
Affected versions: 7.1 to and including 7.10.6
Not affected versions: 7.10.7 and later

When curl connected to a site via an HTTP proxy with the CONNECT request, the user and password used for the proxy connection was also sent off to the remote server.

FTP Server Response Buffer Overflow

Date: October 13, 2000
ID: BID 1804 CVE-2000-0973 (permalink)
Affected versions: 6.0 (and possibly earlier) to and including 7.4
Not affected versions: 7.4.1 and later

When storing an FTP server's error message on failure, there was no check for input length and thus a malicious FTP server could overflow curl's stack based buffer. securityfocus lists two exploits

donate! Page updated December 9, 2005.
web site info