CWE
119 190 131 122
Advisory Published
CVE Published
CVE Published
Updated

CVE-2018-14618: Buffer Overflow

First published: Mon Aug 27 2018(Updated: )

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.)

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/curl<0:7.29.0-51.el7_6.3
0:7.29.0-51.el7_6.3
redhat/httpd24-curl<0:7.61.1-1.el6
0:7.61.1-1.el6
redhat/httpd24-httpd<0:2.4.34-7.el6
0:2.4.34-7.el6
redhat/httpd24-nghttp2<0:1.7.1-7.el6
0:1.7.1-7.el6
redhat/httpd24-curl<0:7.61.1-1.el7
0:7.61.1-1.el7
redhat/httpd24-httpd<0:2.4.34-7.el7
0:2.4.34-7.el7
redhat/httpd24-nghttp2<0:1.7.1-7.el7
0:1.7.1-7.el7
Haxx Libcurl<7.61.1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Debian Debian Linux=9.0
Redhat Enterprise Linux=6.0
Redhat Enterprise Linux=7.0
Redhat Enterprise Linux=7.4
Redhat Enterprise Linux=7.5
Redhat Enterprise Linux=7.6
redhat/curl<7.61.1
7.61.1
ubuntu/curl<7.58.0-2ubuntu3.3
7.58.0-2ubuntu3.3
ubuntu/curl<7.35.0-1ubuntu2.17
7.35.0-1ubuntu2.17
ubuntu/curl<7.47.0-1ubuntu2.9
7.47.0-1ubuntu2.9
debian/curl
7.74.0-1.3+deb11u12
7.74.0-1.3+deb11u11
7.88.1-10+deb12u6
7.88.1-10+deb12u5
8.8.0-4
8.9.1-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-14618?

    CVE-2018-14618 is a vulnerability in the NTLM authentication code of curl before version 7.61.1.

  • What is the severity of CVE-2018-14618?

    CVE-2018-14618 has a severity value of 9.8, which is classified as critical.

  • How does CVE-2018-14618 affect curl?

    CVE-2018-14618 affects curl versions before 7.61.1, and it is specifically related to a buffer overrun in the NTLM authentication code.

  • How can I fix CVE-2018-14618?

    To fix CVE-2018-14618, you need to update curl to version 7.61.1 or later.

  • Where can I find more information about CVE-2018-14618?

    You can find more information about CVE-2018-14618 on the official curl website and the Red Hat security page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203