Improper Certificate Validation in cURL - CVE-2017-7468

 

Improper Certificate Validation in cURL - CVE-2017-7468

Published: July 16, 2018 / Updated: August 3, 2020


Vulnerability identifier: #VU33155
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-7468
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

In curl and libcurl 7.52.0 to and including 7.53.1, libcurl would attempt to resume a TLS session even if the client certificate had changed. That is unacceptable since a server by specification is allowed to skip the client certificate check on resume, and may instead use the old identity which was established by the previous certificate (or no certificate). libcurl supports by default the use of TLS session id/ticket to resume previous TLS sessions to speed up subsequent TLS handshakes. They are used when for any reason an existing TLS connection couldn't be kept alive to make the next handshake faster. This flaw is a regression and identical to CVE-2016-5419 reported on August 3rd 2016, but affecting a different version range.


Affected software

cURL
Arch Linux
Gentoo Linux
Fedora
curl (Alpine package)
curl

How to mitigate CVE-2017-7468

Install update from vendor's website.

cURL - update to 7.52.1
curl (Alpine package) - addressed in versions 7.52.1-r1, 7.52.1-r2, 7.52.1-r3
curl - update to 7.53.1-6.fc26

External References

Related Security Bulletins