Insufficient Entropy Affecting blahaj package, versions <0.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-BLAHAJ-8383398
  • published18 Nov 2024
  • disclosed16 Nov 2024
  • creditCure53

Introduced: 16 Nov 2024

CVE NOT AVAILABLE CWE-331  (opens 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