Incorrect Calculation Affecting golang-misc package, versions <0:1.20.8-1.47.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.09% (41st 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-AMZN201803-GOLANGMISC-6147322
  • published 9 Jan 2024
  • disclosed 8 Mar 2023

How to fix?

Upgrade Amazon-Linux:2018.03 golang-misc to version 0:1.20.8-1.47.amzn1 or higher.
This issue was patched in ALAS-2023-1848.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.

CVSS Scores

version 3.1
Expand this section

NVD

5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

Red Hat

5.3 medium
Expand this section

SUSE

7.4 high