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 libcurlUpgrade libcurl-develUpgrade curl-debuginfoUpgrade curl | Apr 27, 2020 | Sep 5, 2018 |
| Amazon_linux | — | Upgrade curl | Dec 7, 2018 | Sep 5, 2018 |
| Centos_linux | — | Upgrade curl-debuginfoUpgrade curlUpgrade libcurl-develUpgrade libcurl | Aug 1, 2019 | Sep 5, 2018 |
| Debian | — | Upgrade curl | Sep 6, 2018 | Sep 5, 2018 |
| Freebsd | — | Upgrade linux-c7-curlUpgrade 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 libcurlUpgrade libcurl-develUpgrade curl | Feb 22, 2019 | Sep 5, 2018 |
| Huawei Euleros 2_0_sp3 | — | Upgrade libcurlUpgrade curlUpgrade libcurl-devel | Mar 27, 2019 | Sep 5, 2018 |
| Huawei Euleros 2_0_sp5 | — | Upgrade libcurlUpgrade libcurl-develUpgrade curl | 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 | — | Upgrade libcurlUpgrade curlUpgrade libcurl-develUpgrade curl-debuginfoNo solution exists | Jul 30, 2019 | Sep 5, 2018 |
| Suse | — | Upgrade curl-openssl1Upgrade libcurl-devel-32bitUpgrade libcurl4-openssl1Upgrade libcurl4-openssl1-32bitUpgrade libcurl4-openssl1-x86Upgrade libcurl4-32bitUpgrade libcurl4-x86Upgrade curl-miniUpgrade libcurl4-miniUpgrade libcurl-mini-develUpgrade libcurl4Upgrade libcurl-develUpgrade curl | Sep 15, 2018 | Sep 5, 2018 |
| Ubuntu | — | Upgrade libcurl3Upgrade libcurl4Upgrade curlUpgrade libcurl3-nssUpgrade libcurl3-gnutls | 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