CVE-2018-16875
rustls-webpki: CPU denial of service in certificate path building
Description
When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building. Both TLS clients and TLS servers that accept client certificate are affected. We now give each path building operation a budget of 100 signature verifications. The original `webpki` crate is also affected. This was previously reported in the original crate <https://github.com/briansmith/webpki/issues/69> and re-reported to us recently by Luke Malinowski.
How to fix CVE-2018-16875
To remediate CVE-2018-16875, upgrade the affected package to a fixed version below.
- —upgrade to 0.100.2 or later
- —upgrade to 0.22.2 or later
- —upgrade to 1.10.6 or later
Is CVE-2018-16875 being exploited?
Low — EPSS is 0.9%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 0.0.0-0, < 0.100.2, >= 0.101.0, < 0.101.4
- >= 0.0.0-0, < 0.22.2
- from 0, < 1.10.6, >= 1.11.0-0, < 1.11.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |