Incorrect Calculation Affecting golang-src 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.45% (76th 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 ID SNYK-RHEL7-GOLANGSRC-4762983
  • published 26 Jul 2021
  • disclosed 23 May 2017

How to fix?

Upgrade RHEL:7 golang-src 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-src package and not the golang-src 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.