TLS certificate check bypass with mbedTLS

Summary

CVECVE-2024-2466
StatePUBLISHED
Assignercurl
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-03-27 08:15:41 UTC
Updated2026-10-15 01:17:43 UTC
Descriptionlibcurl 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).

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Problem Types: CWE-297 | CWE-297 Improper Validation of Certificate with Host Mismatch | CWE-297 CWE-297 Improper Validation of Certificate with Host Mismatch


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Macos All All All All
Application Haxx Curl All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Curl Curl affected 8.6.0 8.6.0 semver Not specified
CNA Curl Curl affected 8.5.0 8.5.0 semver Not specified
ADP Curl Libcurl affected 8.5.0 8.6.0 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SINEMA Remote Connect Client affected V3.2 SP2 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SINEC NMS affected V3.0 SP1 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
curl.se/docs/CVE-2024-2466.html af854a3a-2127-422b-91ae-364da2661108 curl.se Vendor Advisory
www.openwall.com/lists/oss-security/2024/03/27/4 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-417159.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
support.apple.com/kb/HT214120 af854a3a-2127-422b-91ae-364da2661108 support.apple.com Release Notes, Vendor Advisory
hackerone.com/reports/2416725 af854a3a-2127-422b-91ae-364da2661108 hackerone.com Exploit, Issue Tracking, Third Party Advisory
support.apple.com/kb/HT214118 af854a3a-2127-422b-91ae-364da2661108 support.apple.com Release Notes, Vendor Advisory
cert-portal.siemens.com/productcert/html/ssa-331112.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
curl.se/docs/CVE-2024-2466.json af854a3a-2127-422b-91ae-364da2661108 curl.se Vendor Advisory
security.netapp.com/advisory/ntap-20240503-0010 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
seclists.org/fulldisclosure/2024/Jul/20 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
seclists.org/fulldisclosure/2024/Jul/18 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
support.apple.com/kb/HT214119 af854a3a-2127-422b-91ae-364da2661108 support.apple.com Release Notes, Vendor Advisory
seclists.org/fulldisclosure/2024/Jul/19 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls... af854a3a-2127-422b-91ae-364da2661108 www.vicarius.io Exploit, Mitigation, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Frank Yueh (en)

CNA: Stefan Eissing (en)

Legacy QID Mappings

  • 379550 Curl TLS Certificate Check Bypass Vulnerability

© 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