CVE-2014-8151
curl: certificate check bypass when built with DarwinSSL as TLS backend
Severity
LowRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · January 8, 2015
Updated · June 27, 2026
Description
The darwinssl_connect_step1 function in lib/vtls/curl_darwinssl.c in libcurl 7.31.0 through 7.39.0, when using the DarwinSSL (aka SecureTransport) back-end for TLS, does not check if a cached TLS session validated the certificate when reusing the session, which allows man-in-the-middle attackers to spoof servers via a crafted certificate.
Statement
Not vulnerable. This issue did not affect the versions of curl as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they do no use DarwinSSL library as TLS backend.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 2.6AV:N/AC:H/Au:N/C:N/I:P/A:N
CWE-295 · Improper Certificate Validation