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).
[
{
"vendor": "curl",
"product": "curl",
"versions": [
{
"version": "8.6.0",
"status": "affected",
"lessThanOrEqual": "8.6.0",
"versionType": "semver"
},
{
"version": "8.5.0",
"status": "affected",
"lessThanOrEqual": "8.5.0",
"versionType": "semver"
}
],
"defaultStatus": "unaffected"
}
]
seclists.org/fulldisclosure/2024/Jul/18
seclists.org/fulldisclosure/2024/Jul/19
seclists.org/fulldisclosure/2024/Jul/20
www.openwall.com/lists/oss-security/2024/03/27/4
curl.se/docs/CVE-2024-2466.html
curl.se/docs/CVE-2024-2466.json
hackerone.com/reports/2416725
security.netapp.com/advisory/ntap-20240503-0010/
support.apple.com/kb/HT214118
support.apple.com/kb/HT214119
support.apple.com/kb/HT214120