CVE-2024-2466

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).
References
Link Resource
http://seclists.org/fulldisclosure/2024/Jul/18 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jul/19 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jul/20 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/27/4 Mailing List Third Party Advisory
https://curl.se/docs/CVE-2024-2466.html Vendor Advisory
https://curl.se/docs/CVE-2024-2466.json Vendor Advisory
https://hackerone.com/reports/2416725 Exploit Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20240503-0010/ Third Party Advisory
https://support.apple.com/kb/HT214118 Release Notes Vendor Advisory
https://support.apple.com/kb/HT214119 Release Notes Vendor Advisory
https://support.apple.com/kb/HT214120 Release Notes Vendor Advisory
http://seclists.org/fulldisclosure/2024/Jul/18 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jul/19 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jul/20 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/27/4 Mailing List Third Party Advisory
https://curl.se/docs/CVE-2024-2466.html Vendor Advisory
https://curl.se/docs/CVE-2024-2466.json Vendor Advisory
https://hackerone.com/reports/2416725 Exploit Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20240503-0010/ Third Party Advisory
https://support.apple.com/kb/HT214118 Release Notes Vendor Advisory
https://support.apple.com/kb/HT214119 Release Notes Vendor Advisory
https://support.apple.com/kb/HT214120 Release Notes Vendor Advisory
https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468 Exploit Mitigation Third Party Advisory
https://cert-portal.siemens.com/productcert/html/ssa-331112.html
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
https://cert-portal.siemens.com/productcert/html/ssa-417159.html
Configurations

Configuration 1 (hide)

cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*

Configuration 4 (hide)

AND
cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*

Configuration 5 (hide)

AND
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*

Configuration 6 (hide)

AND
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*

Configuration 7 (hide)

AND
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*

History

15 Oct 2026, 01:17

Type Values Removed Values Added
References
  • () https://cert-portal.siemens.com/productcert/html/ssa-331112.html -
  • () https://cert-portal.siemens.com/productcert/html/ssa-398330.html -
  • () https://cert-portal.siemens.com/productcert/html/ssa-417159.html -

Information

Published : 2024-03-27 08:15

Updated : 2026-10-15 01:17


NVD link : CVE-2024-2466

Mitre link : CVE-2024-2466

CVE.ORG link : CVE-2024-2466


JSON object : View

Products Affected

apple

  • macos

netapp

  • h500s
  • h700s_firmware
  • h300s_firmware
  • h410s
  • bootstrap_os
  • h410s_firmware
  • hci_compute_node
  • h300s
  • h700s
  • h500s_firmware

haxx

  • curl
CWE
CWE-297

Improper Validation of Certificate with Host Mismatch