Description
The (1) mbed_connect_step1 function in lib/vtls/mbedtls.c and (2) polarssl_connect_step1 function in lib/vtls/polarssl.c in cURL and libcurl before 7.49.0, when using SSLv3 or making a TLS connection to a URL that uses a numerical IP address, allow remote attackers to spoof servers via an arbitrary valid certificate.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.50.1-1 | — |
| Debian 13 | curl | 7.50.1-1 | — |
| Debian 12 | curl | 7.50.1-1 | — |
References
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- 1035907 vdb-entry
- https://curl.haxx.se/docs/adv_20160518.html
- SSA:2016-141-01 vendor-advisory
- 90726 vdb-entry
- https://curl.haxx.se/CVE-2016-3739.patch
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- GLSA-201701-47 vendor-advisory
- https://curl.haxx.se/changes.html#7_49_0
- [oss-security] 20240327 [SECURITY ADVISORY] curl: CVE-2024-2466: TLS certificate check bypass with mbedTLS mailing-list