| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
ADVISORY: libcurl data callback excessive length
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Feb 2010 12:38:36 +0100 (CET)
libcurl data callback excessive length
Project cURL Security Advisory, February 9th 2010
1. VULNERABILITY
When downloading data, libcurl hands it over to the application using a
Using the affected libcurl version to download compressed content over HTTP,
This error is only present in zlib-enabled builds of libcurl and only if
There is no known exploit for this problem and we have not found any libcurl
2. AFFECTED VERSIONS
Affected versions: curl and libcurl 7.10.5 to and including 7.19.7
If you build curl or libcurl to not use zlib or make your app not tell
Also note that (lib)curl is used by many applications, and not always
3. THE SOLUTION
libcurl 7.20.0 makes sure that the length argument in the callback never
4. RECOMMENDATIONS
We suggest you take one of the following actions immediately, in order of
A - Upgrade to curl and libcurl 7.20.0
B - Apply this patch and rebuild
http://curl.haxx.se/libcurl-contentencoding.patch
C - Disable automatic content encoding decompression in your application
D - Rebuild curl without zlib support
E - change your code to use 4*CURL_MAX_WRITE_SIZE for buffer sizes
5. TIME LINE
We were notified by Wesley Miaw on January 9th, 2010.
We discussed solutions and a first patch was written and tested on January
Vendor-sec was informed on January 10th, 2010.
curl 7.20.0 was released on February 9th 2010, just before this flaw was
6. CREDITS
Reported to us by Wesley Miaw. Thanks a lot!
Daniel Stenberg wrote the primary patch and this advisory
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-02-09 These mail archives are generated by hypermail. |
Page updated December 08, 2009.
web site info