blob: d90619a37d682477f0c66f5388887fd7d97763ae [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0435",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-05-20T21:17:46Z",
"aliases": [
"CVE-2022-28327"
],
"summary": "Panic due to large inputs affecting P-256 curves in crypto/elliptic",
"details": "A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.9"
},
{
"introduced": "1.18.0-0"
},
{
"fixed": "1.18.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "crypto/elliptic",
"symbols": [
"CurveParams.ScalarBaseMult",
"CurveParams.ScalarMult",
"p256Curve.CombinedMult",
"p256Curve.ScalarBaseMult",
"p256Curve.ScalarMult",
"p256GetScalar"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/397135"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/37065847d87df92b5eb246c88ba2085efcf0b331"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/52075"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/oecdBNLOml8"
}
],
"credits": [
{
"name": "Project Wycheproof"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0435",
"review_status": "REVIEWED"
}
}