QID 379550

QID 379550: Curl TLS Certificate Check Bypass Vulnerability

libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS.
libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore completely skipping the certificate check. This affects all uses of TLS protocols (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc).

Affected Versions:
All Curl versions after 8.5.0(including 8.5.0) and prior to version 8.7.0

QID Detection Logic (Windows Authenticated):
This QID checks for vulnerable version of curl by checking the fileversion of curl.exe. Please note that this QID checks for the curl.exe file at the default installation directory only.

QID Detection Logic (Mac OS Authenticated):
This QID checks for vulnerable version of curl on MacOS by checking the installed packages.

Successful exploitation of the vulnerability may allow an attacker to bypass TLS certificate check, leading to possible confidentiality and integrity loss.

  • CVSS V3 rated as High - 7.4 severity.
  • CVSS V2 rated as Medium - 5.8 severity.
  • Solution
    Vendor has released patch addressing the vulnerability. For more information, please refer to the Curl Security Advisory

    Vendor References

    CVEs related to QID 379550

    Software Advisories
    Advisory ID Software Component Link
    Curl Security Advisory URL Logo curl.se/docs/CVE-2024-2466.html

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report