CVE-2017-8932
Aliases:GO-2022-0187
Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 06 Jul 2017, 16:00
Last modified:05 Aug 2024, 16:48
Vulnerability Summary
Overall Risk (default)
low
24/100 CVSS Score
5.9 MEDIUM
v3.0 (nvd)
EPSS Score
1.48% LOW
1% probability -0.54%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
06 Jul 2017, 16:00
Published
Vulnerability first disclosed
05 Aug 2024, 16:48
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 1.48%• Percentile: 81%
Techniques & Countermeasures
- CWE-682•Incorrect Calculation
The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
Affected Systems
- fedoraproject•fedora
25
- golang•go
≤ 1.7.5 | 1.8 | 1.8.1
- Go•stdlib
≥ 1.8.0-0, < 1.8.2
- novell•suse_package_hub_for_suse_linux_enterprise
12
- opensuse•leap
42.2
References (13)
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://access.redhat.com/errata/RHSA-2017:1859
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1455191
- https://github.com/golang/go/issues/20040
- https://go-review.googlesource.com/c/41070/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/
- https://go.dev/cl/41070
- https://go.googlesource.com/go/+/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- https://go.dev/issue/20040
- https://groups.google.com/g/golang-announce/c/B5ww0iFt1_Q/m/TgUFJV14BgAJ