Skip to content
Fencer Vulns
medium 6.5

CVE-2024-2466 json

TLS certificate check bypass with mbedTLS

published 2024-03-27 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-27415 , GHSA-9xr6-qf7m-2jv5 , JLSEC-2026-417

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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

Patch / fix

  • julia CURL_jll 8.9.0+0
  • julia LibCURL_jll 8.7.1+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SINEMA Remote Connect Client V3.2 SP2
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SINEC NMS V3.0 SP1
  • curl Debian 14, Debian 13 8.7.1-1

debian advisories DEBIAN-CVE-2024-2466

  • jbcs-httpd24-curl jboss core services 1 8.7.1-2.el7jbcs
  • jbcs-httpd24-curl jboss core services 1 8.7.1-2.el8jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.57-10.el7jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.57-10.el8jbcs
  • jbcs-httpd24-mod_jk jboss core services 1 1.2.49-6.redhat_1.el7jbcs
  • jbcs-httpd24-mod_jk jboss core services 1 1.2.49-6.redhat_1.el8jbcs
  • jbcs-httpd24-mod_md jboss core services 1 1:2.4.24-6.el7jbcs
  • jbcs-httpd24-mod_md jboss core services 1 1:2.4.24-6.el8jbcs

red hat advisories RHSA-2024:2693

  • curl Linux Micro 6.0 8.6.0-3.1

suse advisories SUSE-SU-2025:20029-1

  • curl openSUSE Tumbleweed 8.7.1-1.1

opensuse advisories openSUSE-SU-2024:13805-1

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 8.7.1-r0

alpine advisories ALPINE-CVE-2024-2466

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl CBL-Mariner 2.0, Azure Linux 3.0 8.8.0-1
  • cmake Azure Linux 3.0 3.30.3-2

azure linux advisories AZL-37077AZL-37103AZL-42972

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-2466 updated cvss 5.3

curl: TLS certificate check bypass with mbedTLS

  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2024:2694
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.7.1-2.el7jbcs, jbcs-httpd24-httpd 2.4.57-10.el7jbcs, jbcs-httpd24-libcurl 8.7.1-2.el7jbcs, jbcs-httpd24-mod_md 2.4.24-6.el7jbcs, jbcs-httpd24-mod_ssl 2.4.57-10.el7jbcs, jbcs-httpd24-nghttp2 1.43.0-13.el7jbcs, +11 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 8.7.1-2.el8jbcs, jbcs-httpd24-httpd 2.4.57-10.el8jbcs, jbcs-httpd24-libcurl 8.7.1-2.el8jbcs, jbcs-httpd24-mod_md 2.4.24-6.el8jbcs, jbcs-httpd24-mod_ssl 2.4.57-10.el8jbcs, jbcs-httpd24-nghttp2 1.43.0-13.el8jbcs, +11 more
    fixed: vendor fix RHSA-2024:2693
  • Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Enterprise Linux 9 curl, libcurl, curl-minimal, libcurl-minimal Red Hat Enterprise Linux 10 curl Red Hat Software Collections httpd24-curl, httpd24-libcurl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 7.1

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/2416725 referenced PoC, tagged "exploit" by a source, unverified
  • vicarius.io https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
julia CURL_jll
>=8.5.0+0, <8.9.0+0
8.9.0+0
julia LibCURL_jll
>=8.5.0+0, <8.7.1+0
8.7.1+0

Affected products

  • curl curl
  • curl libcurl
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SINEMA Remote Connect Client
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SINEC NMS

Classification

Weakness
  • CWE-297 Improper Validation of Certificate with Host Mismatch

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.