U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2024-2466 Detail

Description

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


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://seclists.org/fulldisclosure/2024/Jul/18 CVE, curl Mailing List  Third Party Advisory 
http://seclists.org/fulldisclosure/2024/Jul/19 CVE, curl Mailing List  Third Party Advisory 
http://seclists.org/fulldisclosure/2024/Jul/20 CVE, curl Mailing List  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2024/03/27/4 CVE, curl Mailing List  Third Party Advisory 
https://curl.se/docs/CVE-2024-2466.html CVE, curl Vendor Advisory 
https://curl.se/docs/CVE-2024-2466.json CVE, curl Vendor Advisory 
https://hackerone.com/reports/2416725 CVE, curl Exploit  Issue Tracking  Third Party Advisory 
https://security.netapp.com/advisory/ntap-20240503-0010/ CVE, curl Third Party Advisory 
https://support.apple.com/kb/HT214118 CVE, curl Release Notes  Vendor Advisory 
https://support.apple.com/kb/HT214119 CVE, curl Release Notes  Vendor Advisory 
https://support.apple.com/kb/HT214120 CVE, curl Release Notes  Vendor Advisory 
https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468 CVE Exploit  Mitigation  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-297 Improper Validation of Certificate with Host Mismatch CISA-ADP  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

10 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2024-2466
NVD Published Date:
03/27/2024
NVD Last Modified:
07/30/2025
Source:
curl