CVE-2024-2466
Medium 6.5 CVSS 3.1
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).
Description as published by the source, in English.
Key facts
- Published
- 2024-03-27
- Last modified
- 2026-10-15
- Assigned by
- 2499f714-1537-4658-8207-48ae4bb9eae9
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
1.3 %
higher than 68 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Macos | < 12.7.6 | Affected |
| Apple | Macos | ≥ 13.0, < 13.6.8 | Affected |
| Apple | Macos | ≥ 14.0, < 14.6 | Affected |
| Haxx | Curl | ≥ 8.5.0, < 8.7.0 | Affected |
| Netapp | Bootstrap Os | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Not affected |
Weakness type
-
CWE-297: Improper Validation of Certificate with Host Mismatch
The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.
References
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://www.openwall.com/lists/oss-security/2024/03/27/4
- https://curl.se/docs/CVE-2024-2466.html
- https://curl.se/docs/CVE-2024-2466.json
- https://hackerone.com/reports/2416725
- https://security.netapp.com/advisory/ntap-20240503-0010/
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://www.openwall.com/lists/oss-security/2024/03/27/4
- https://curl.se/docs/CVE-2024-2466.html
- https://curl.se/docs/CVE-2024-2466.json
- https://hackerone.com/reports/2416725
- https://security.netapp.com/advisory/ntap-20240503-0010/
- https://support.apple.com/kb/HT214118
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.