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.)
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade curl | Sep 21, 2018 | Sep 5, 2018 |
| Amazon Linux Ami 2 | — | Upgrade curlUpgrade libcurl-develUpgrade libcurlUpgrade curl-debuginfo | Apr 27, 2020 | Sep 5, 2018 |
| Amazon_linux | — | Upgrade curl | Dec 7, 2018 | Sep 5, 2018 |
| Centos_linux | — | Upgrade curlUpgrade libcurl-develUpgrade curl-debuginfoUpgrade libcurl | Aug 1, 2019 | Sep 5, 2018 |
| Debian | — | Upgrade curl | Sep 6, 2018 | Sep 5, 2018 |
| Freebsd | — | Upgrade curlUpgrade linux-c7-curl | Aug 4, 2019 | Sep 5, 2018 |
| Gentoo Linux | — | Upgrade net-misc/curl. | Mar 11, 2019 | Sep 5, 2018 |
| Huawei Euleros 2_0_sp2 | — | Upgrade curlUpgrade libcurlUpgrade libcurl-devel | Feb 22, 2019 | Sep 5, 2018 |
| Huawei Euleros 2_0_sp3 | — | Upgrade libcurlUpgrade libcurl-develUpgrade curl | Mar 27, 2019 | Sep 5, 2018 |
| Huawei Euleros 2_0_sp5 | — | Upgrade curlUpgrade libcurl-develUpgrade libcurl | Feb 15, 2019 | Sep 5, 2018 |
| Oracle Solaris | — | Upgrade web/curl to version 7.62.0-11.4.4.0.1.3.0 on Solaris 11.4 | Dec 17, 2018 | Sep 5, 2018 |
| Oracle_linux | — | Upgrade curlUpgrade libcurl-develUpgrade libcurl | Jul 21, 2020 | Sep 5, 2018 |
| Redhat_linux | — | No solution existsUpgrade libcurl-develUpgrade curlUpgrade curl-debuginfoUpgrade libcurl | Jul 30, 2019 | Sep 5, 2018 |
| Suse | — | Upgrade libcurl4-openssl1Upgrade libcurl4-openssl1-32bitUpgrade curl-openssl1Upgrade libcurl-devel-32bitUpgrade libcurl4-32bitUpgrade libcurl4-openssl1-x86Upgrade curlUpgrade libcurl4Upgrade libcurl4-x86Upgrade libcurl-develUpgrade curl-miniUpgrade libcurl4-miniUpgrade libcurl-mini-devel | Sep 15, 2018 | Sep 5, 2018 |
| Ubuntu | — | Upgrade libcurl4Upgrade libcurl3-nssUpgrade libcurl3-gnutlsUpgrade curlUpgrade libcurl3 | Sep 21, 2018 | Sep 5, 2018 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Sep 5, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub