[3.2] curl: escape and unescape integer overflows (CVE-2016-7167)
The four libcurl functions curl_escape(), curl_easy_escape(),
curl_unescape and curl_easy_unescape perform string URL percent
escaping and unescaping.
They accept custom string length inputs in signed integer arguments.
(The functions having names without “easy” being the deprecated versions
of the others.)
Affected versions:
libcurl 7.11.1 to and including 7.50.2
Not affected versions:
libcurl < 7.11.1 and libcurl >= 7.50.3
Reference:
https://curl.haxx.se/docs/adv\_20160914.html
Patch:
https://curl.haxx.se/CVE-2016-7167.patch
(from redmine: issue id 6185, created on 2016-09-19, closed on 2016-10-18)
- Relations:
- parent #6181 (closed)
- Changesets:
- Revision 78f4b017 by Natanael Copa on 2016-10-18T08:33:46Z:
main/curl: security fix for CVE-2016-7167
fixes #6185