CVE-2017-8932
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure.
- Exploit odds
- 2.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.2% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.2% · EPSS, next 30 days
- Weakness
- CWE-682
- Record status
- Modified
Affected
- 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
Attack profile CVSS 3.0 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-8932.md and follow it. Check whether this project is affected by CVE-2017-8932. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://go-review.googlesource.com/c/41070/
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://go-review.googlesource.com/c/41070/
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
References
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- https://access.redhat.com/errata/RHSA-2017:1859
- https://bugzilla.redhat.com/show_bug.cgi?id=1455191
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://github.com/golang/go/issues/20040
- https://go-review.googlesource.com/c/41070/
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- https://access.redhat.com/errata/RHSA-2017:1859
- https://bugzilla.redhat.com/show_bug.cgi?id=1455191
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://github.com/golang/go/issues/20040
- https://go-review.googlesource.com/c/41070/
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/