GitHub Advisory Database
GHSA-965h-392x-2mh5
webpki: Name constraints for URI names were incorrectly accepted
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | rustls-webpki | From 0.101.0 before 0.103.12 (fixed in 0.103.12) |
| crates.io | rustls-webpki | From 0.104.0-alpha.1 before 0.104.0-alpha.6 (fixed in 0.104.0-alpha.6) |