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.
Scores
CVSS v3
5.9
EPSS
0.0202
EPSS Percentile
83.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-682
Status
published
Products (6)
fedoraproject/fedora
25
golang/go
1.8
golang/go
1.8.1
golang/go
< 1.7.5
novell/suse_package_hub_for_suse_linux_enterprise
12
opensuse/leap
42.2
Published
Jul 06, 2017
Tracked Since
Feb 18, 2026