Incorrect Calculation Affecting golang-tests package, versions <0:1.8.3-1.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.61% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-GOLANGTESTS-5190574
  • published26 Jul 2021
  • disclosed23 May 2017

Introduced: 23 May 2017

CVE-2017-8932  (opens in a new tab)
CWE-682  (opens in a new tab)

How to fix?

Upgrade RHEL:7 golang-tests to version 0:1.8.3-1.el7 or higher.
This issue was patched in RHSA-2017:1859.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-tests package and not the golang-tests package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.