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


Vulnerability identifier: #VU17457

Vulnerability risk: Low

CVSSv4.0: 2 [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/E:P/U:Clear]

CVE-ID: CVE-2018-16890

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libcurl
Universal components / Libraries / Libraries used by multiple products

Vendor: curl.haxx.se

Description

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..

Mitigation
Update to version 7.64.0.

Vulnerable software versions

libcurl: 7.36.0 - 7.63.0


External links
https://www.securityfocus.com/bid/106947
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16890
https://curl.haxx.se/docs/CVE-2018-16890.html
https://usn.ubuntu.com/3882-1/
https://www.debian.org/security/2019/dsa-4386


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability