{"id":"CVE-2017-8932","aliases":["GO-2022-0187"],"kind":"cve","tier":"cold","status":"published","title":"Incorrect computation for P-256 curves in crypto/elliptic","description":"A bug in the standard library ScalarMult implementation of curve P-256 for amd64 architectures in Go before 1.7.6 and 1.8.x before 1.8.2 causes incorrect results to be generated for specific input points. An adaptive attack can be mounted to progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to the derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.","ai_summary":null,"severity":"medium","cvss":{"score":5.9,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD"},"scores":[{"score":5.9,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","source":"nvd"}],"cwe":["CWE-682"],"remote":true,"remote_unauth":true,"epss":{"score":0.02225,"percentile":0.83439,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Go","name":"stdlib","affected":">= 1.6.0-0, < 1.7.6; >= 1.8.0-0, < 1.8.2","fixed":["1.7.6","1.8.2"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade stdlib to one of 1.7.6, 1.8.2 (or later in the same release line).","technologies":[],"references":[{"url":"https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2017:1859","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html","kind":"vendor"},{"url":"https://go-review.googlesource.com/c/41070/","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/","kind":"vendor"},{"url":"https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c","kind":"patch"},{"url":"https://go.dev/cl/41070","kind":"patch"},{"url":"https://go.googlesource.com/go/+/9294fa2749ffee7edbbb817a0ef9fe633136fa9c","kind":"patch"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1455191","kind":"other"},{"url":"https://github.com/golang/go/issues/20040","kind":"other"},{"url":"https://go.dev/issue/20040","kind":"other"},{"url":"https://groups.google.com/g/golang-announce/c/B5ww0iFt1_Q/m/TgUFJV14BgAJ","kind":"other"}],"workarounds":null,"vendors":["fedoraproject","golang","novell","opensuse"],"products":["fedora","go","leap","suse_package_hub_for_suse_linux_enterprise"],"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","cpe:2.3:a:golang:go:1.8.1:*:*:*:*:*:*:*","cpe:2.3:a:golang:go:1.8:*:*:*:*:*:*:*","cpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*"],"published_at":"2017-07-06T16:00:00.000Z","modified_at":"2026-06-17T01:27:13.483Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8932"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GO-2022-0187","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2017-8932","markdown":"https://flawdb.com/CVE-2017-8932.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-8932"}}