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.
The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Go | Golang | * | 1.7.5 (including) |
Go | Golang | 1.8 (including) | 1.8 (including) |
Go | Golang | 1.8.1 (including) | 1.8.1 (including) |
Red Hat Enterprise Linux 7 | RedHat | golang-0:1.8.3-1.el7 | * |
Golang | Ubuntu | trusty | * |
Golang | Ubuntu | vivid/stable-phone-overlay | * |
Golang | Ubuntu | vivid/ubuntu-core | * |
Golang-1.6 | Ubuntu | esm-infra/xenial | * |
Golang-1.6 | Ubuntu | trusty | * |
Golang-1.6 | Ubuntu | xenial | * |
Golang-1.6 | Ubuntu | yakkety | * |
Golang-1.7 | Ubuntu | artful | * |
Golang-1.7 | Ubuntu | cosmic | * |
Golang-1.7 | Ubuntu | yakkety | * |
Golang-1.7 | Ubuntu | zesty | * |
Golang-1.8 | Ubuntu | zesty | * |