Insufficient Entropy Affecting blahaj package, versions <0.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-RUST-BLAHAJ-8383398
  • published 18 Nov 2024
  • disclosed 16 Nov 2024
  • credit Cure53

Introduced: 16 Nov 2024

New CVE NOT AVAILABLE CWE-331 Open this link in a new tab

How to fix?

Upgrade blahaj to version 0.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Entropy via the random_polynomial function. An attacker can exclude an exponential number of values for each of the shared bytes until sufficiently few values remain for brute forcing by exploiting the bias in polynomial coefficient generation. This is only exploitable if the same secret is distributed multiple times.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • 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