Improper Validation of Integrity Check Value Affecting org.webjars.npm:secp256k1 package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.04% (12th 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-JAVA-ORGWEBJARSNPM-8237221
  • published 25 Oct 2024
  • disclosed 21 Oct 2024
  • credit Nikita Skovoroda

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.webjars.npm:secp256k1 is a This module provides native bindings to ecdsa secp256k1 functions

Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value due to a missing that check in loadCompressedPublicKey. An attacker can extract enough information to fully restore the private key from as little as 11 ECDH sessions.

Note: Other operations on public keys likepublicKeyVerify() incorrectly returning true and publicKeyTweakMul() returning predictable outcomes allowing to restore the tweak are also affected.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None