CVE-2018-14618

curl: curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code

CVE-2018-14618 is fixed in 4 products on 1 platform, first by curl 7.58.0-2ubuntu3.3, released September 4, 2018. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.1112
95th percentile

curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code. The internal function Curl_ntlm_core_mk_nt_hash multiplies the length of the password by two (SUM) to figure out how large temporary storage area to allocate from the heap. The length value is then subsequently used to iterate over the password and generate output into the allocated storage buffer. On systems with a 32 bit size_t, the math to calculate SUM triggers an integer overflow when the password length exceeds 2GB (2^31 bytes). This integer overflow usually causes a very small buffer to actually get allocated instead of the intended very huge one, making the use of that buffer end up in a heap buffer overflow. (This bug is almost identical to CVE-2017-8816.)

Where it's fixed

ProductFixed inFixReleased
Linux
curl · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.3 curl 7.58.0-2ubuntu3.3 Sep 4, 2018
libcurl3-gnutls · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.3 libcurl3-gnutls 7.58.0-2ubuntu3.3 Sep 4, 2018
libcurl3-nss · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.3 libcurl3-nss 7.58.0-2ubuntu3.3 Sep 4, 2018
libcurl4 · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.3 libcurl4 7.58.0-2ubuntu3.3 Sep 4, 2018

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.