Live threats

All CVEs / Golang

CVE-2017-8932Golang Go

Medium 5.9 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golanggo≤ 1.7.5
golanggo1.8
golanggo1.8.1
novellsuse_package_hub_for_suse_linux_enterprise12
fedoraprojectfedora25
opensuseleap42.2

Official sources

References

Links published by the sources. Open them with care.