Heap out-of-bounds read in curl (Alpine package)



Published: 2019-03-05
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-16890
CWE-ID CWE-125
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
curl (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Heap out-of-bounds read

EUVDB-ID: #VU17457

Risk: Low

CVSSv3.1: 4.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-16890

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

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

Install update from vendor's website.

Vulnerable software versions

curl (Alpine package): 7.61.1-r1

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=f8e74ed5d486b34f474038f07979498dba33a6f1
http://git.alpinelinux.org/aports/commit/?id=ac94a85a568f6fd5302de777d3614ed19d26ea07
http://git.alpinelinux.org/aports/commit/?id=5ba18f0ca5e2e4f2371cf806a531c993d2b9689b
http://git.alpinelinux.org/aports/commit/?id=d3a946561011a260c6b7a31fa0714a943e38cdfa
http://git.alpinelinux.org/aports/commit/?id=f7cc724b9adaf1c7da74f14c8664294e44e73e99


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.



###SIDEBAR###