Vulnerability · Published Mar 27, 2024 · Assigned by curl
CVE-2024-2466TLS certificate check bypass with mbedTLS
Medium 6.5
In plain English
A medium-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2466 |
| Alpine:v3.21 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2466 |
| Alpine:v3.22 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2466 |
| Alpine:v3.23 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2466 |
| Alpine:v3.24 | curl | 8.7.1-r0 | ALPINE-CVE-2024-2466 |
| Debian:13 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2466 |
| Debian:14 | curl | 8.7.1-1 | DEBIAN-CVE-2024-2466 |
Affected products (as reported)
Weakness: CWE-297 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- json
- www
- issue
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-417159.html
- https://cert-portal.siemens.com/productcert/html/ssa-331112.html