| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2026-42508" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "golang.org/x/crypto", |
| "product": "golang.org/x/crypto/ssh/knownhosts", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "golang.org/x/crypto/ssh/knownhosts", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "0.52.0", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "hostKeyDB.IsRevoked" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-295: Improper Certificate Validation" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/issue/79568" |
| }, |
| { |
| "url": "https://go.dev/cl/781220" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-announce/c/a082jnz-LvI" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2026-5021" |
| } |
| ] |
| } |
| } |
| } |