CVE-2017-8932Golang Go
Medium 5.9 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jul 6, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-682
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
≥ 1.6.0-0 < 1.7.6 |
1.7.6 |
go get stdlib@v1.7.6 |
| Go | stdlib |
≥ 1.8.0-0 < 1.8.2 |
1.8.2 |
go get stdlib@v1.8.2 |
Per OSV / GitHub Advisories (GO-2022-0187). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Patch Third Party Advisory
- lists.opensuse.org Patch Third Party Advisory
- access.redhat.com
- 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
- groups.google.com Vendor Advisory
- lists.fedoraproject.org