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.)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
12- osv-coords11 versionspkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Studio%20Onsite%201.3pkg:rpm/suse/curl-openssl1&distro=SUSE%20Linux%20Enterprise%20Server%2011-SECURITY
< 7.79.1-1.1+ 10 more
- (no CPE)range: < 7.79.1-1.1
- (no CPE)range: < 7.37.0-37.26.1
- (no CPE)range: < 7.60.0-3.9.1
- (no CPE)range: < 7.37.0-70.33.1
- (no CPE)range: < 7.37.0-37.26.1
- (no CPE)range: < 7.37.0-70.33.1
- (no CPE)range: < 7.37.0-37.26.1
- (no CPE)range: < 7.37.0-70.33.1
- (no CPE)range: < 7.37.0-37.26.1
- (no CPE)range: < 7.19.7-1.20.53.16.1
- (no CPE)range: < 7.37.0-70.33.1
Patches
Vulnerability mechanics
References
11- www.securitytracker.com/id/1041605nvdThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2018:3558nvdThird Party Advisory
- curl.haxx.se/docs/CVE-2018-14618.htmlnvdVendor Advisory
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0014nvdThird Party Advisory
- security.gentoo.org/glsa/201903-03nvdThird Party Advisory
- usn.ubuntu.com/3765-1/nvdThird Party Advisory
- usn.ubuntu.com/3765-2/nvdThird Party Advisory
- www.debian.org/security/2018/dsa-4286nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue Tracking
- access.redhat.com/errata/RHSA-2019:1880nvd
- cert-portal.siemens.com/productcert/pdf/ssa-436177.pdfnvd
News mentions
0No linked articles in our index yet.