Security mailing lists by PureSourceCode

CVE-2017-8932

MEDIUM 5.9CVSS 3.0

Incorrect computation for P-256 curves in crypto/elliptic

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.

Published
6 Jul 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-682
Also known as
GO-2022-0187
Sources
NVDJSONOSV GO-2022-0187JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
<= 1.7.5
NVD golang go
cpe:2.3:a:golang:go:1.8:*:*:*:*:*:*:*
= 1.8
NVD golang go
cpe:2.3:a:golang:go:1.8.1:*:*:*:*:*:*:*
= 1.8.1
NVD novell suse_package_hub_for_suse_linux_enterprise
cpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:*
= 12
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*
= 25
NVD opensuse leap
cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*
= 42.2
OSV Go stdlib >= 1.6.0-0, < 1.7.6; >= 1.8.0-0, < 1.8.2 1.7.6, 1.8.2

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 6 Jul 2017)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.