Insufficient Entropy Affecting blahaj package, versions <0.6.0
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
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.