CVE Catalog

CVE-2024-2466

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.45%

73th percentile - higher than 73% of all known CVEs

Summary

libcurl built with mbedTLS did not check the server certificate for TLS connections to a host specified as an IP address. The set hostname function was wrongly skipped, completely bypassing certificate verification for HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc.

Risk Assessment

Lack of server certificate verification allows an attacker to impersonate the server and intercept data. All TLS connections to hosts specified as IP addresses are at risk.

Recommendation

Update libcurl to a patched version. Until then, avoid TLS connections to hosts specified as IP addresses.

Other vulnerabilities in libcurl

See all
Original NVD description (English source)

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).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS