CVE-2017-7468
[UNKNOWN] curl: Improper Certificate Validation
Check your servers for CVE-2017-7468
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2017-7468 affects curl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 76.6% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-295 Improper Certificate Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
curl
[UNKNOWN]
|
affected curl 7.54.0
|
Is my server affected?
Find the installed version of curl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i curl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-7468 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-7468RHEL, Rocky, Alma, Fedora
rpm -q curl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-7468Alpine
apk list --installed | grep -i curlWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-7468
trivy image --scanners vuln IMAGE | grep CVE-2017-7468
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7468 bugzilla.redhat.com
- GLSA-201709-14 security.gentoo.org · vendor advisory
- https://curl.haxx.se/docs/adv_20170419.html curl.haxx.se
Other references
Source: the record CVE-2017-7468 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse