{"schema_version":"1.7.3","id":"GO-2025-3421","published":"2025-01-28T00:47:30Z","modified":"2025-01-30T20:12:20.017343Z","aliases":["BIT-golang-2025-22865","CVE-2025-22865"],"summary":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","details":"Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.","affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0-0"},{"fixed":"1.24.0-rc.2"}]}],"ecosystem_specific":{"imports":[{"path":"crypto/x509","symbols":["ParsePKCS1PrivateKey"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3421.json"}}],"references":[{"type":"FIX","url":"https://go.dev/cl/643098"},{"type":"REPORT","url":"https://go.dev/issue/71216"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2025-3421"},"credits":[{"name":"Philippe Antoine (Catena cyber)"}]}