CVE-2016-8622
CVE-2016-8622
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.7 · Low · EPSS 4.7% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
curl
- Versions
- 7.51.0: Affected
No fix published
curl Debian:12
- Affected ranges
- ECOSYSTEM: < 7.51.0-1
Update to 7.51.0-1
curl Debian:13
- Affected ranges
- ECOSYSTEM: < 7.51.0-1
Update to 7.51.0-1
curl Debian:14
- Affected ranges
- ECOSYSTEM: < 7.51.0-1
Update to 7.51.0-1
curl Ubuntu:14.04:LTS
- Versions
- 7.32.0-1ubuntu1
- 7.33.0-1ubuntu1
- 7.34.0-1ubuntu1
- 7.35.0-1ubuntu1
- 7.35.0-1ubuntu2
- 7.35.0-1ubuntu2.1
- 7.35.0-1ubuntu2.2
- 7.35.0-1ubuntu2.3
- 7.35.0-1ubuntu2.5
- 7.35.0-1ubuntu2.6
- 7.35.0-1ubuntu2.7
- 7.35.0-1ubuntu2.8
- 7.35.0-1ubuntu2.9
- Affected ranges
- ECOSYSTEM: < 7.35.0-1ubuntu2.10
Update to 7.35.0-1ubuntu2.10
curl Ubuntu:16.04:LTS
- Versions
- 7.43.0-1ubuntu2
- 7.45.0-1ubuntu1
- 7.46.0-1ubuntu1
- 7.47.0-1ubuntu1
- 7.47.0-1ubuntu2
- 7.47.0-1ubuntu2.1
- Affected ranges
- ECOSYSTEM: < 7.47.0-1ubuntu2.2
Update to 7.47.0-1ubuntu2.2
Original sources
- https://access.redhat.com/errata/RHSA-2018:3558
- https://curl.haxx.se/docs/adv_20161102H.html
- https://www.tenable.com/security/tns-2016-21
- http://www.securitytracker.com/id/1037192
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/94105
- https://access.redhat.com/errata/RHSA-2018:2486
- https://security.gentoo.org/glsa/201701-47
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622
- https://nvd.nist.gov/vuln/detail/CVE-2016-8622