CVE-2024-2466
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| curl | curl | 8.6.0 <= 8.6.0 | affected |
| curl | curl | 8.5.0 <= 8.5.0 | affected |
Weaknesses
- CWE-297 Improper Validation of Certificate with Host Mismatch
ADP Enrichment
CVE Program Container
Additional References
- https://curl.se/docs/CVE-2024-2466.json
- https://curl.se/docs/CVE-2024-2466.html
- https://hackerone.com/reports/2416725
- http://www.openwall.com/lists/oss-security/2024/03/27/4
- https://security.netapp.com/advisory/ntap-20240503-0010/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
- https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://curl.se/docs/CVE-2024-2466.json
- https://curl.se/docs/CVE-2024-2466.html
- https://hackerone.com/reports/2416725
- http://www.openwall.com/lists/oss-security/2024/03/27/4
- https://security.netapp.com/advisory/ntap-20240503-0010/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.