Improper Certificate Validation Affecting curl package, versions <7.54.0-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE316-CURL-2841894
- published 27 Jun 2018
- disclosed 16 Jul 2018
Introduced: 27 Jun 2018
CVE-2017-7468 Open this link in a new tabHow to fix?
Upgrade Alpine:3.16
curl
to version 7.54.0-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream curl
package and not the curl
package as distributed by Alpine
.
See How to fix?
for Alpine:3.16
relevant fixed versions and status.
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.
References
- https://curl.haxx.se/docs/adv_20170419.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7468
- https://security-tracker.debian.org/tracker/CVE-2017-7468
- https://security.gentoo.org/glsa/201709-14
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7468
- http://www.securityfocus.com/bid/97962
- http://www.securitytracker.com/id/1038341
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-7468