| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2025-22874" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Usage of ExtKeyUsageAny disables policy validation in crypto/x509", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "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": [ |
| { |
| "vendor": "Go standard library", |
| "product": "crypto/x509", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "crypto/x509", |
| "versions": [ |
| { |
| "version": "1.24.0-0", |
| "lessThan": "1.24.4", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "Certificate.Verify" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-295: Improper Certificate Validation" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/cl/670375" |
| }, |
| { |
| "url": "https://go.dev/issue/73612" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2025-3749" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "Krzysztof Skrzętnicki (@Tener) of Teleport" |
| } |
| ] |
| } |
| } |
| } |