webpki: CPU denial of service in certificate path building
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
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. This was previously reported in https://github.com/briansmith/webpki/issues/69. `rustls-webpki` is a fork of this crate which contains a fix for this issue and is actively maintained.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | webpki (crates.io) | before 0.22.2 | 0.22.2 | Patch available | GHSA-8qv2-5vq6-g2g7 |
- webpki (crates.io) Vendor— Affected before 0.22.2 Fixed in 0.22.2 Patch available GHSA-8qv2-5vq6-g2g7
Remediation
- Fix · GHSA-8qv2-5vq6-g2g7 webpki (crates.io) Fixed in 0.22.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-8qv2-5vq6-g2g7
References
Other 6
- https://github.com/briansmith/webpki/issues/69
- https://github.com/briansmith/webpki/issues/69#issuecomment-1699894848
- https://github.com/briansmith/webpki/commit/30a108e0802fd09585e0d071013f24b8272d139b
- https://github.com/briansmith/webpki
- https://github.com/crypto-com/sgx-vendor
- https://rustsec.org/advisories/RUSTSEC-2023-0052.html
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences