Heap-based buffer overflow in libcurl - CVE-2018-16842

 

Heap-based buffer overflow in libcurl - CVE-2018-16842

Published: November 1, 2018


Vulnerability identifier: #VU15673
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-16842
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to heap-based buffer over-read in the tool_msgs.c:voutf() function. A remote unauthenticated attacker can specially crafted data, trigger memory corruption to read back out-of-buffer data and cause the service to crash.


Affected software

libcurl
Modular Switchgear Monitoring (MSM)
Flex System Chassis Management Module (CMM)
Gentoo Linux
Amazon Linux AMI
Arch Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Ubuntu
Slackware Linux
Opensuse
Fedora
curl (Alpine package)
curl (Ubuntu package)
libcurl3-nss (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
libcurl3 (Ubuntu package)
curl (Debian package)
libcurl4 (Ubuntu package)
curl
Dynamic System Analysis (DSA) Preboot
Secured Component Verification (SCV)
Watson Studio on Cloud Pak for Data
IBM Cloud Transformation Advisor
Dell EMC Unisphere Central

How to mitigate CVE-2018-16842

Update to version 7.62.0.

libcurl - update to 7.62.0
curl (Alpine package) - addressed in versions 7.61.1-r1, 7.62.0-r0
curl (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.24, 7.35.0-1ubuntu2.19, 7.47.0-1ubuntu2.11, 7.58.0-2ubuntu3.5, 7.61.0-1ubuntu2.2
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.24, 7.35.0-1ubuntu2.19, 7.47.0-1ubuntu2.11, 7.58.0-2ubuntu3.5, 7.61.0-1ubuntu2.2
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.24, 7.35.0-1ubuntu2.19, 7.47.0-1ubuntu2.11, 7.58.0-2ubuntu3.5, 7.61.0-1ubuntu2.2
libcurl3 (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.24, 7.35.0-1ubuntu2.19, 7.47.0-1ubuntu2.11
curl (Debian package) - update to 7.52.1-5+deb9u8
libcurl4 (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.5, 7.61.0-1ubuntu2.2
curl - addressed in versions 7.59.0-8.fc28, 7.59.0-9.fc28, 7.61.1-4.fc29, 7.61.1-5.fc29
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
Secured Component Verification (SCV) - update to 1.92.0
Flex System Chassis Management Module (CMM) - update to 2pet18a-2.5.14a
IBM Cloud Transformation Advisor - update to 3.10.0
Dell EMC Unisphere Central - update to 4.0.8.23220
Watson Studio on Cloud Pak for Data - addressed in versions 4.8.7, 5.1.0

External References

Related Security Bulletins