Heap out-of-bounds read in libcurl - CVE-2018-16890

 

Heap out-of-bounds read in libcurl - CVE-2018-16890

Published: February 11, 2019


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

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information or cause the service to crash.

The vulnerability exists due to a integer overflow in the function handling incoming NTLM type-2 messages (`lib/vauth/ntlm.c:ntlm_decode_type2_target`) does not validate incoming data correctly. A remote attacker on malicious or broken NTLM server can trick the victim into accepting a bad length + offset combination, trigger heap out-of-bounds read error and read contents of memory on the system or cause the service to crash..


Affected software

libcurl
EMC Isilon OneFS
Arch Linux
Red Hat Enterprise Linux for x86_64
Slackware Linux
Ubuntu
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
Secured Component Verification (SCV)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)

How to mitigate CVE-2018-16890

Update to version 7.64.0.

libcurl - update to 7.64.0
curl (Alpine package) - update to 7.61.1-r2
curl (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
libcurl3-nss (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
libcurl3 (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12
curl (Debian package) - update to 7.52.1-5+deb9u9
libcurl4 (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
curl - update to 7.61.1-8.fc29
Secured Component Verification (SCV) - update to 1.92.0
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.0.0.5.116
Dell EMC Unity Operating Environment (OE) - update to 5.0.0.0.5.116

External References

Related Security Bulletins