Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-2466 EUVD-2024-27415GHSA-9xr6-qf7m-2jv5

TLS certificate check bypass with mbedTLS

Published Mar 27, 2024 · Updated Oct 15, 2026 · Assigned by curl

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

VendorProductAffectedFixed
curl curl 8.6.0 – ≤ 8.6.0, 8.5.0 – ≤ 8.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.7.1-1 —
Debian 13 curl 8.7.1-1 —
ReleasePackageFixed inAdvisory
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.7.1-2.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.57-10.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.19-37.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +1 1.2.49-6.redhat_1.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_md 1:2.4.24-6.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_proxy_cluster 1.3.20-4.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.3-36.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.57-10.el7jbcs RHSA-2024:2693
Red Hat JBoss Core Services 1 jbcs-httpd24-nghttp2 +1 1.43.0-13.el7jbcs RHSA-2024:2693
ReleasePackageFixed inAdvisory
SLE Micro 6.0 curl 8.6.0-3.1 SUSE-SU-2025:20029-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.7.1-1.1 openSUSE-SU-2024:13805-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.7.1-r0 —
Alpine v3.23 curl 8.7.1-r0 —
Alpine v3.22 curl 8.7.1-r0 —
Alpine v3.21 curl 8.7.1-r0 —
Alpine v3.20 curl 8.7.1-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.7.1-r0 —
Alpine v3.18 curl 8.7.1-r0 —
Alpine v3.17 curl 8.7.1-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.30.3-2 —
Azure Linux 3 curl 8.8.0-1 —
Azure Linux 2 (CBL-Mariner) curl 8.8.0-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling curl 8.7.1-r0 —

Advisories 15

References