Heap-based buffer overflow in cURL - CVE-2018-1000120

 

Heap-based buffer overflow in cURL - CVE-2018-1000120

Published: March 15, 2018 / Updated: April 12, 2024


Vulnerability identifier: #VU11111
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-1000120
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: curl.haxx.se
Affected software:
cURL

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to heap-based buffer overflow. A remote attacker that can control the paths that curl uses for FTP can create specially crafted path names containing the control characters '%00', trigger memory corruption and execute arbitrary code.



How to mitigate CVE-2018-1000120

Update to version 7.59.0.

Sources