{"id":"CVE-2017-8932","published":"2017-07-06T16:00:00Z","modified":"2024-08-05T16:48:22Z","title":"A bug in the standard library ScalarMult implementation of curve P-256 for amd64 architectures in Go before 1.7.6 and…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02225,"percentile":0.83143,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1859","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1455191","tags":["x_refsource_MISC"]},{"url":"https://github.com/golang/go/issues/20040","tags":["x_refsource_CONFIRM"]},{"url":"https://go-review.googlesource.com/c/41070/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.63}]},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":[">=1.6.0-0, <1.7.6",">=1.8.0-0, <1.8.2"],"patched":["1.7.6","1.8.2"],"from":["GO-2022-0187"],"provenance":"source"}],"summary":{"text":"The standard library implementation of ScalarMult for the P-256 elliptic curve on amd64 architectures in Go, before 1.7.6 and 1.8.x before 1.8.2, produces incorrect results for specific input points. An attacker who can submit crafted points to a service performing ECDH with a static key, and observe whether the output is correct, can adaptively extract the scalar and recover the full key; this requires no more than the ability to supply inputs and observe outcomes, without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:19Z"},"euvd":{"id":"EUVD-2017-17872","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-5386","published":"2016-07-19","fixed":"1.6.3","kev":false},{"cve":"CVE-2017-1000097","published":"2017-10-04","fixed":"1.7.4","kev":false},{"cve":"CVE-2017-1000098","published":"2017-10-04","fixed":"1.7.4","kev":false},{"cve":"CVE-2017-8932","published":"2017-07-06","fixed":"1.8.2","kev":false},{"cve":"CVE-2017-15042","published":"2017-10-05","fixed":"1.9.1","kev":false,"link":{"from":"CVE-2017-8932","to":"CVE-2017-15042","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.8.2","toFixed":"1.8.4","daysApart":91}]}},{"cve":"CVE-2018-16875","published":"2018-12-14","fixed":"1.11.3","kev":false},{"cve":"CVE-2019-6486","published":"2019-01-24","fixed":"1.11.5","kev":false}],"package":"Go:stdlib"}}