CVE-2018-14618
Description
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.)
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2018-14618 are affected in Curl For Windows 7.61.0 | Windows |
| Vulnerabilities CVE-2018-14618 are fixed in Curl For Windows 7.61.1 | Windows |
| curl security update(DSA-4286-1) curl_7.52.1-5+deb9u7_i386.deb | Linux |
| curl security update(DSA-4286-1) curl_7.52.1-5+deb9u7_amd64.deb | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-debuginfo-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-debugsource-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-32bit-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-debuginfo-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-debuginfo-32bit-7.37.0-37.26.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) curl-7.37.0-70.33.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) libcurl4-7.37.0-70.33.1.x86_64.rpm | Linux |
| SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) libcurl4-32bit-7.37.0-70.33.1.x86_64.rpm | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234