{ "dataType": "CVE_RECORD", "dataVersion": "5.0", "cveMetadata": { "cveId": "CVE-2023-24532" }, "containers": { "cna": { "providerMetadata": { "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" }, "title": "Incorrect calculation on P256 curves in crypto/internal/nistec", "descriptions": [ { "lang": "en", "value": "The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh." } ], "affected": [ { "vendor": "Go standard library", "product": "crypto/internal/nistec", "collectionURL": "https://pkg.go.dev", "packageName": "crypto/internal/nistec", "versions": [ { "version": "0", "lessThan": "1.19.7", "status": "affected", "versionType": "semver" }, { "version": "1.20.0-0", "lessThan": "1.20.2", "status": "affected", "versionType": "semver" } ], "programRoutines": [ { "name": "P256Point.ScalarBaseMult" }, { "name": "P256Point.ScalarMult" }, { "name": "P256OrdInverse" } ], "defaultStatus": "unaffected" } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-682: Incorrect Calculation" } ] } ], "references": [ { "url": "https://go.dev/issue/58647" }, { "url": "https://go.dev/cl/471255" }, { "url": "https://groups.google.com/g/golang-announce/c/3-TpUx48iQY" }, { "url": "https://pkg.go.dev/vuln/GO-2023-1621" } ], "credits": [ { "lang": "en", "value": "Guido Vranken, via the Ethereum Foundation bug bounty program" } ] } } }