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

Base Score
9.8
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.324

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2018-14618 are affected in Curl For Windows 7.61.0Windows
Vulnerabilities CVE-2018-14618 are fixed in Curl For Windows 7.61.1Windows
curl security update(DSA-4286-1) curl_7.52.1-5+deb9u7_i386.debLinux
curl security update(DSA-4286-1) curl_7.52.1-5+deb9u7_amd64.debLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-debuginfo-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) curl-debugsource-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-32bit-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-debuginfo-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2715-1(SUSE Linux Enterprise Desktop 12-SP3 ) libcurl4-debuginfo-32bit-7.37.0-37.26.1.x86_64.rpmLinux
SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) curl-7.37.0-70.33.1.x86_64.rpmLinux
SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) libcurl4-7.37.0-70.33.1.x86_64.rpmLinux
SUSE-SU-2018:2717-1(SUSE Linux Enterprise Server 11-SP4 ) libcurl4-32bit-7.37.0-70.33.1.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234