GO-2025-3749
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-22874
- Alias
- BIT-golang-2025-22874
Description
Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 1.24.0-0, fixed 1.24.4 |
Références
- https://go.dev/cl/670375 FIX
- https://go.dev/issue/73612 REPORT
- https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |