Vulnerability DatabaseGHSA-8qv2-5vq6-g2g7

GHSA-8qv2-5vq6-g2g7
Rust vulnerability analysis and mitigation

Overview

The webpki crate (version <= 0.22.1) contains a CPU denial of service vulnerability in its certificate path building functionality. The vulnerability was discovered and reported on August 22, 2023, and affects both TLS clients and TLS servers that accept client certificates. When presented with a pathological certificate chain for validation, the system would experience exponential CPU time consumption relative to the number of candidate certificates at each path-building step (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.0 score of 7.5 (High), with a vector string of CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue stems from the certificate path validation process where the crate would perform an unbounded number of signature validations when processing certificate chains. The vulnerability specifically manifests when the set of intermediates all have subjects matching a trust anchor, leading to quadratic complexity in pathbuilding (GitHub Commit).

Impact

The vulnerability primarily affects system availability through excessive CPU consumption. When exploited, it can lead to a denial of service condition by forcing the system to perform an exponential number of signature validation operations during certificate chain validation. The vulnerability has no direct impact on system confidentiality or integrity (RustSec Advisory).

Mitigation and workarounds

The vulnerability has been patched in webpki version 0.22.2, which implements a maximum signature check limit of 100 signatures during pathbuilding, similar to the approach taken in the Golang x509 package. Users are advised to upgrade to this version or later. Additionally, rustls-webpki, a fork of this crate, contains the fix and is actively maintained (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22257HIGH8.8
  • RustRust
  • salvo
NoYesJan 08, 2026
CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
GHSA-g59m-gf8j-gjf5LOW3.7
  • RustRust
  • aws-sdk-eventbridge
NoYesJan 08, 2026
GHSA-585q-cm62-757jLOW2
  • RustRust
  • mnl
NoNoJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management