CVE-2018-16875

HIGH7.5EPSS 0.92%

rustls-webpki: CPU denial of service in certificate path building

Published: 7/15/2022Modified: 2/4/2026
Also known as:GHSA-8qv2-5vq6-g2g7GHSA-fh2r-99q2-6mmgRUSTSEC-2023-0052RUSTSEC-2023-0053

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)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (8)