7.5high
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.46% (higher than 32% of CVEs)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2025-3749BIT-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crypto/x509 | from 1.24.0-0 before 1.24.4 | CVE List |
| stdlib (Go) | from 1.24.0-0 before 1.24.4 | Go Vulnerability Database |
| golang (Bitnami) | from 1.24.0-0 before 1.24.4 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Al llamar a Verify con un VerifyOptions.KeyUsages que contiene ExtKeyUsageAny, se deshabilitó involuntariamente la validación de políticas. Esto solo afectó a las cadenas de certificados que contienen gráficos de políticas, lo cual es poco común.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22874 changed 2025-06-16 | CVE Terms of Use |
| Go Vulnerability Database | GO-2025-3749 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2025-22874 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-22874 changed 2025-07-09 | Apache-2.0 |