What’s Vulnerable › Vulnerabilities

CVE-2024-2466: TLS certificate check bypass with mbedTLS

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 products

How to fix

Upgrade to a fixed version: Apple macOS 12.7.6, 13.6.8, 14.6; curl 8.7.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-2466 or the next vulnerability affects your stack