Bug 563220 (CVE-2010-0734)
Summary: | CVE-2010-0734 curl: zlib-compression causes curl to pass more than CURL_MAX_WRITE_SIZE bytes to write callback | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | kdudka, kreilly, ksrot, mmalik, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://curl.haxx.se/docs/adv_20100209.html | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-30 17:30:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 563236, 563240, 565405, 565406, 565407, 565408 | ||
Bug Blocks: |
Description
Jan Lieskovsky
2010-02-09 15:49:30 UTC
This issue affects the versions of the curl package, as shipped with Red Hat Enterprise Linux 3, 4, and 5. This issue affects the versions of the curl package, as shipped with Fedora release of 11 and 12. (In reply to comment #0) > A stack based buffer overflow flaw was found in the way libcurl > used to uncompress zlib compressed data. It does not have to be stack-based. It depends on the application and what it does with the data in its write callback function. As indicated in the upstream advisory, upstream is not aware of any application using libcurl that is really affected by this flaw. Searching source of all Red Hat Enterprise Linux applications, only PHP curl extension uses CURLOPT_ENCODING to enable deflate content encoding. However, PHP's write callback function does not rely on documented "The maximum amount of data that can be passed to the write callback is defined in the curl.h header file: CURL_MAX_WRITE_SIZE." Other write callback functions used by RHEL applications either pass data to output file / stream without copying them to intermediate fixed-sized buffer, or use dynamically allocated buffer and don't rely on CURL_MAX_WRITE_SIZE limit. So those apps wouldn't be affected even if they used deflate compression. Third party application using libcurl and relying on the documented CURL_MAX_WRITE_SIZE limit may be affected by this problem. curl-7.19.7-7.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/curl-7.19.7-7.fc12 curl-7.19.7-5.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/curl-7.19.7-5.fc11 curl-7.19.7-7.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/curl-7.19.7-7.fc12 curl-7.19.7-5.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/curl-7.19.7-5.fc11 curl-7.19.7-7.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. curl-7.19.7-5.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. This is CVE-2010-0734. This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2010:0273 https://rhn.redhat.com/errata/RHSA-2010-0273.html This issue has been addressed in following products: Red Hat Enterprise Linux 3 Red Hat Enterprise Linux 4 Via RHSA-2010:0329 https://rhn.redhat.com/errata/RHSA-2010-0329.html |