6.5medium
TLS certificate check bypass with mbedTLS
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.45% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- curl
- Also known as
- CURL-CVE-2024-2466
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
| Product or package | Versions | Reported by |
|---|---|---|
| curl curl | from 8.6.0 up to 8.6.0, from 8.5.0 up to 8.5.0 | CVE List |
| curl libcurl | from 8.5.0 up to 8.6.0 | CVE List |
| https://github.com/curl/curl.git | from 8.5.0 before 8.7.0, from fa714830e92cba7b16b9d3f2cc92a72ee9d821fa before 3d0fd382a29b95561b90b7ea3e7eb04dfdd43538 | curl |
| haxx curl | from 8.5.0 before 8.7.0 | NVD |
| apple macos | before 12.7.6, from 13.0 before 13.6.8, from 14.0 before 14.6 | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp bootstrap_os | Not specified | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| curl | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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).
NVD (es)
libcurl no verificó el certificado del servidor de las conexiones TLS realizadas a un host especificado como dirección IP, cuando se creó para usar mbedTLS. libcurl evitaría erróneamente el uso de la función establecer nombre de host cuando el nombre de host especificado se proporcionara como dirección IP, por lo que se saltaría por completo la verificación del certificado. Esto afecta a todos los usos de los protocolos TLS (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2466 changed 2026-10-15 | CVE Terms of Use |
| curl | CURL-CVE-2024-2466 changed 2026-10-25 | MIT |
| NVD | CVE-2024-2466 changed 2026-10-15 | Public domain |