The URL percent-encoding decode function in libcurl before 7.51.0 is called curl_easy_unescape
. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.
CPE | Name | Operator | Version |
---|---|---|---|
curl | eq | 7.28.0-r0 | |
curl | eq | 7.21.1-r0 | |
curl | eq | curl-7_19_6 | |
curl | eq | before_urldata_rename | |
curl | eq | 7.47.0-r0 | |
curl | eq | 7.49.1-r2 | |
curl | eq | curl-7_9_7 | |
curl | eq | 7.28.1-r0 | |
curl | eq | curl-7_16_0 | |
curl | eq | curl-7_45_0 |
www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
www.securityfocus.com/bid/94105
www.securitytracker.com/id/1037192
access.redhat.com/errata/RHSA-2018:2486
access.redhat.com/errata/RHSA-2018:3558
bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622
curl.haxx.se/docs/adv_20161102H.html
security.gentoo.org/glsa/201701-47
www.tenable.com/security/tns-2016-21