blob: 1f4f9f2ec7a4b0e6ecf74326bf4e9dd062701974 [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2025-22865"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "ParsePKCS1PrivateKey panic with partial keys in crypto/x509",
"descriptions": [
{
"lang": "en",
"value": "Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed."
}
],
"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.0-rc.2",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "ParsePKCS1PrivateKey"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-228: Improper Handling of Syntactically Invalid Structure"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/643098"
},
{
"url": "https://go.dev/issue/71216"
},
{
"url": "https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ"
},
{
"url": "https://pkg.go.dev/vuln/GO-2025-3421"
}
],
"credits": [
{
"lang": "en",
"value": "Philippe Antoine (Catena cyber)"
}
]
}
}
}