CVE-2017-8932
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.
How to fix
- stdlib1.7.6, 1.8.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v ≤ 1.7.5, 1.8, 1.8.1 | — |
| novell suse_package_hub_for_suse_linux_enterprise | 12 | — |
| fedoraproject fedora | 25 | — |
| opensuse leap | 42.2 | — |
| stdlibGo | 1.6.0-0 ≤ v < 1.7.6, 1.8.0-0 ≤ v < 1.8.2 | 1.7.6, 1.8.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.