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


Severity

Recommended
0.0
medium
0
10

Based on Oracle 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-ORACLE7-GOLANGMISC-2517822
  • published10 Apr 2022
  • disclosed6 Jul 2017

Introduced: 6 Jul 2017

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

How to fix?

Upgrade Oracle:7 golang-misc to version 0:1.8.3-1.el7 or higher.
This issue was patched in ELSA-2017-1859.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Oracle. See How to fix? for Oracle: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.