CVEvulnerability

CVE-2017-8932

5.9 MEDIUM Published 2017-07-06 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-07-06
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
5.9 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-682

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 configurations

• golang go (<= 1.7.5) • golang go 1.8 • golang go 1.8.1 • novell suse package hub for suse linux enterprise 12 • fedoraproject fedora 25 • opensuse leap 42.2

Related

Weakness · CWE (1)

  • CWE-682 Incorrect Calculation weakness

Referenced by CWE · observed example (1)

  • CWE-682 Incorrect Calculation weakness

References