Skip to content

CVE-2017-8932 Incorrect computation for P-256 curves in crypto/elliptic

MediumCVSS 5.9 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
stdlib(Go) >= 1.6.0-0, < 1.7.6 1.7.6
stdlib(Go) >= 1.8.0-0, < 1.8.2 1.8.2
golang go <= 1.7.5 No fix listed
golang go = 1.8 No fix listed
golang go = 1.8.1 No fix listed
novell suse package hub for suse linux enterprise = 12 No fix listed
fedoraproject fedora = 25 No fix listed
openSUSE leap = 42.2 No fix listed

References