GitHub Advisoryadvisory · crates.io
GHSA-965h-392x-2mh5 webpki: Name constraints for URI names were incorrectly accepted
LOW
Official page ↗
- Ecosystem
- crates.io
- Packages
- rustls-webpki
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-295
- Reviewed
- 2026-04-16
Affected packages
• crates.io rustls-webpki: >= 0.101.0, < 0.103.12 → fixed in 0.103.12
• crates.io rustls-webpki: >= 0.104.0-alpha.1, < 0.104.0-alpha.6 → fixed in 0.104.0-alpha.6
Description
Name constraints for URI names were ignored and therefore accepted.
Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.
Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
Related
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness