A bug in the standard library ScalarMult implementation of curve P-256 for amd64…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | up to 1.7.5 | Vulnerable | Go standard library |
| cpe:2.3:a:golang:go:1.8:*:*:*:*:*:*:* | 1.8 | Vulnerable | Go standard library |
| cpe:2.3:a:golang:go:1.8.1:*:*:*:*:*:*:* | 1.8.1 | Vulnerable | Go standard library |
| cpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:* | 12 | Vulnerable | Novell |
| cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* | 25 | Vulnerable | Fedoraproject |
| cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:* | 42.2 | Vulnerable | openSUSE |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions up to 1.7.5 Vulnerable ·Go standard library
- cpe:2.3:a:golang:go:1.8:*:*:*:*:*:*:* Versions 1.8 Vulnerable ·Go standard library
- cpe:2.3:a:golang:go:1.8.1:*:*:*:*:*:*:* Versions 1.8.1 Vulnerable ·Go standard library
- cpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:* Versions 12 Vulnerable ·Novell
- cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* Versions 25 Vulnerable ·Fedoraproject
- cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:* Versions 42.2 Vulnerable ·openSUSE
Remediation
Red Hat 1 advisory
- RHSA-2017:1859 Released 2017-08-01 · Red Hat rating Moderategolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux Server Optional (v. 7) golang-1.8.3-1.el7, golang-bin-1.8.3-1.el7, golang-docs-1.8.3-1.el7 +3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Enterprise 3 | Affected | — |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:1859 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-8932
- 2026-10-03 Alias added: GHSA-25hf-x7c8-5f3h
References
Patch 3
Sources
- CVE-2017-8932 · CVE Program
- CVE-2017-8932 · NVD
- FIRST EPSS
- GHSA-25hf-x7c8-5f3h · GitHub Advisory Database · CC BY 4.0
- CVE-2017-8932 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences