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: 9.3 [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]
CVE-ID: CVE-2018-1000120
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.



Affected software

cURL
Debian Linux
Amazon Linux AMI
Gentoo Linux
Arch Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
Ubuntu
Slackware Linux
Junos OS Evolved
Fedora
Oracle Communications Application Session Controller
Dell EMC Unisphere Central
curl (Alpine package)
libcurl3 (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
curl (Ubuntu package)
libcurl3-nss (Ubuntu package)
curl
Dynamic System Analysis (DSA) Preboot
Integrated Management Module II (IMM2) for BladeCenter Systems
System x Integrated Management Module (IMM2)
Flex System Integrated Management Module (IMM2)
Flex System Chassis Management Module (CMM)

How to mitigate CVE-2018-1000120

Update to version 7.59.0.

Junos OS Evolved - addressed in versions 21.4R3-S4-EVO, 22.1R3-S4-EVO, 22.3R3-S1-EVO, 22.4R2-S1-EVO, 23.2R1-EVO
curl (Alpine package) - update to 7.59.0-r0
libcurl3 (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.21, 7.35.0-1ubuntu2.15, 7.47.0-1ubuntu2.7, 7.55.1-1ubuntu2.4
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.21, 7.35.0-1ubuntu2.15, 7.47.0-1ubuntu2.7, 7.55.1-1ubuntu2.4
curl (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.21, 7.35.0-1ubuntu2.15, 7.47.0-1ubuntu2.7, 7.55.1-1ubuntu2.4
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.21, 7.35.0-1ubuntu2.15, 7.47.0-1ubuntu2.7, 7.55.1-1ubuntu2.4
curl - addressed in versions 7.53.1-16.fc26, 7.55.1-10.fc27, 7.59.0-1.fc28, 7.59.0-2.fc28
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
System x Integrated Management Module (IMM2) - update to 1AOO86D-7.00
Flex System Integrated Management Module (IMM2) - update to 1AOO86D-7.00
Integrated Management Module II (IMM2) for BladeCenter Systems - update to 1AOO86D-7.00-bc
Flex System Chassis Management Module (CMM) - update to 2pet16d-2.5.13d
Dell EMC Unisphere Central - update to 4.0.8.23220

External References

Related Security Bulletins