[3.2] curl: TLS session resumption client cert bypass (CVE-2017-7468)
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
Affected versions:
curl 7.52.0 to and including 7.53.1
Not affected versions:
curl < 7.52.0 and >= 7.54.0
References:
https://curl.haxx.se/docs/adv\_20170419.html
http://openwall.com/lists/oss-security/2017/04/19/1
Patch:
https://curl.haxx.se/CVE-2017-7468.patch
(from redmine: issue id 7177, created on 2017-04-19, closed on 2017-04-25)
- Relations:
- parent #7176 (closed)
- Changesets:
- Revision 02d24191 on 2017-04-25T12:31:28Z:
main/curl: security fixes #7177,#7137,#7081 (CVE-2017-7468, CVE-2017-7407, CVE-2017-2629)