CVE-2017-8932

golang: Elliptic curves carry propagation issue in x86-64 P-256

Published Jul 6, 2017 CVSS 3.0 · 5.9 Medium EPSS 2.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-17872 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 4:48 PM
Reserved
May 15, 2017, 12:00 AM
Status
Modified
Published
Jul 6, 2017, 4:29 PM
Modified
Jun 17, 2026, 1:27 AM
Severity
Moderate
Public date
May 23, 2017, 12:00 AM