rustls/webpki · Security
webpki: Name constraints for URI names were incorrectly accepted
- GHSA ID
- GHSA-965h-392x-2mh5
- Severity
- low
- Published
- Updated
- CVSS
- 2.2 · CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
- CVSS v3
- 2.2 · CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
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.
CWEs
- CWE-295 · Improper Certificate Validation