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
| Product | Affected versions | Fixed 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
- go.dev patch
- go.googlesource.com patch
- go.dev issue-tracking
- groups.google.com
- openSUSE-SU-2017:1649 patch third-party-advisory vendor-advisory
- openSUSE-SU-2017:1650 patch third-party-advisory vendor-advisory
- RHSA-2017:1859 vendor-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com third-party-advisory
- go-review.googlesource.com vendor-advisory
- [golang-announce] 20170523 [security] Go 1.7.6 and Go 1.8.2 are released mailing-list vendor-advisory
- FEDORA-2017-278f46fcd6 vendor-advisory