Vulnerability Report: GO-2022-0187
standard library- CVE-2017-8932
- Affects: crypto/elliptic
- Published: Jul 01, 2022
- Modified: May 20, 2024
The ScalarMult implementation of curve P-256 for amd64 architectures generates incorrect results for certain specific input points. An adaptive attack can progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.
Affected Packages
-
PathGo VersionsSymbols
-
from go1.6.0-0 before go1.7.6, from go1.8.0-0 before go1.8.2
1 unexported affected symbols
- p256SubInternal
Aliases
References
- 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
- https://vuln.go.dev/ID/GO-2022-0187.json
Credits
- Vlad Krasnov, Filippo Valsorda at Cloudflare
Feedback
See anything missing or incorrect?
Suggest an edit to this report.