Out-of-bounds write in cURL - CVE-2016-8617

 

Out-of-bounds write in cURL - CVE-2016-8617

Published: August 1, 2018 / Updated: August 3, 2020


Vulnerability identifier: #VU33012
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2016-8617
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: curl.haxx.se
Affected software:
cURL

Detailed vulnerability description

The vulnerability allows a local authenticated user to execute arbitrary code.

The base64 encode function in curl before version 7.51.0 is prone to a buffer being under allocated in 32bit systems if it receives at least 1Gb as input via `CURLOPT_USERNAME`.


How to mitigate CVE-2016-8617

Install update from vendor's website.

Sources