GHSA-fh2r-99q2-6mmg

Suggest an improvement
Source
https://github.com/advisories/GHSA-fh2r-99q2-6mmg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-fh2r-99q2-6mmg/GHSA-fh2r-99q2-6mmg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fh2r-99q2-6mmg
Aliases
Published
2023-08-22T18:06:15Z
Modified
2023-11-01T05:08:16.290119Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
rustls-webpki: CPU denial of service in certificate path building
Details

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, see GHSA-8qv2-5vq6-g2g7.

This was previously reported in the original crate https://github.com/briansmith/webpki/issues/69 and re-reported to us recently.

References

Affected packages

crates.io / rustls-webpki

Package

Name
rustls-webpki
View open source insights on deps.dev
Purl
pkg:cargo/rustls-webpki

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.100.2

crates.io / rustls-webpki

Package

Name
rustls-webpki
View open source insights on deps.dev
Purl
pkg:cargo/rustls-webpki

Affected ranges

Type
SEMVER
Events
Introduced
0.101.0
Fixed
0.101.4