Skip to content
OpenAdvisories
Unscored CVE-2017-8932 EUVD-2017-17872GHSA-25hf-x7c8-5f3hGO-2022-0187

Incorrect computation for P-256 curves in crypto/elliptic

Published Jul 6, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS golang-1.6 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 golang +5 1.8.3-1.el7 RHSA-2017:1859
ReleasePackageFixed inAdvisory
SLES 12 containerd 0.2.5+gitr639_422e31c-20.2 SUSE-RU-2017:1965-1
SLES 12 docker 17.04.0_ce-98.2 SUSE-RU-2017:1965-1
SLES 12 docker-distribution 2.6.1-15.2 SUSE-RU-2017:1965-1
SLES 12 golang-github-docker-libnetwork 0.0.0+git20170119.7b2b1fe-4.1 SUSE-RU-2017:1965-1
SLES 12 runc 0.1.1+gitr2947_9c2d8d1-20.3 SUSE-RU-2017:1965-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 go 1.7.0-12.1 openSUSE-SU-2017:1650-1, openSUSE-SU-2017:1649-1
SUSE OpenStack Cloud 6 containerd 0.2.5+gitr639_422e31c-20.2 SUSE-RU-2017:1965-1
SUSE OpenStack Cloud 6 docker 17.04.0_ce-98.2 SUSE-RU-2017:1965-1
SUSE OpenStack Cloud 6 golang-github-docker-libnetwork 0.0.0+git20170119.7b2b1fe-4.1 SUSE-RU-2017:1965-1
SUSE OpenStack Cloud 6 runc 0.1.1+gitr2947_9c2d8d1-20.3 SUSE-RU-2017:1965-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go 1.17-1.1 openSUSE-SU-2024:10802-1
openSUSE Tumbleweed go1.10 1.10.8-8.2 openSUSE-SU-2024:10803-1
openSUSE Tumbleweed go1.11 1.11.13-10.5 openSUSE-SU-2024:10804-1
openSUSE Tumbleweed go1.12 1.12.17-4.8 openSUSE-SU-2024:10805-1
openSUSE Tumbleweed go1.9 1.9.7-11.2 openSUSE-SU-2024:10812-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 golang +5 1.8.3-1.el7 ELSA-2017-1859

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib >= 1.6.0-0, < 1.7.6 · >= 1.8.0-0, < 1.8.2 1.7.6, 1.8.2 GO-2022-0187

Advisories 10

References