libcurl did not check the server certificate of TLS...
Moderate severity
Unreviewed
Published
Mar 27, 2024
to the GitHub Advisory Database
•
Updated Jul 30, 2025
Description
Published by the National Vulnerability Database
Mar 27, 2024
Published to the GitHub Advisory Database
Mar 27, 2024
Last updated
Jul 30, 2025
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).
References