CVE-2017-8932

NameCVE-2017-8932
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs863307, 863308

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golangsourcewheezy(not affected)
golangsourcejessie(not affected)
golangsource(unstable)(unfixed)
golang-1.7source(unstable)1.7.6-1863308
golang-1.8source(unstable)1.8.3-1863307

Notes

[stretch] - golang-1.8 <ignored> (Minor issue, would require rebuilds of affected go-based packages in stable)
[stretch] - golang-1.7 <ignored> (Minor issue, would require rebuilds of affected go-based packages in stable)
[wheezy] - golang <not-affected> (Vulnerable code not present, no ASM implementation of the p256 elliptic curve)
[jessie] - golang <not-affected> (Vulnerable code not present, no ASM implementation of the p256 elliptic curve)
Upstream issue: https://github.com/golang/go/issues/20040
Upstream patch: https://golang.org/cl/41070
Fix for 1.7: https://go-review.googlesource.com/c/43773
Fix for 1.8: https://go-review.googlesource.com/c/43770

Search for package or bug name: Reporting problems