CVE-2018-16875
HIGH7.5EPSS 0.92%rustls-webpki: CPU denial of service in certificate path building
Published: 7/15/2022Modified: 2/4/2026
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.
Affected packages (3)
- crates.io/rustls-webpki>= 0.0.0-0, < 0.100.2, >= 0.101.0, < 0.101.4
- crates.io/webpki>= 0.0.0-0, < 0.22.2
- Go/stdlibfrom 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 |
References (8)
- ADVISORYhttps://rustsec.org/advisories/RUSTSEC-2023-0052.html
- ADVISORYhttps://rustsec.org/advisories/RUSTSEC-2023-0053.html
- PATCHhttps://crates.io/crates/rustls-webpki
- PATCHhttps://crates.io/crates/webpki
- PATCHhttps://go.dev/cl/154105
- PATCHhttps://go.googlesource.com/go/+/770130659b6fb2acf271476579a3644e093dda7f
- REPORThttps://go.dev/issue/29233
- WEBhttps://groups.google.com/g/golang-announce/c/Kw31K8G7Fi0