Cryptographic Issues Affecting shamir package, versions <2.0.0


Severity

Recommended
0.0
medium
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 Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SHAMIR-2327115
  • published28 Dec 2021
  • disclosed21 Jan 2020
  • creditcyphar

Introduced: 21 Jan 2020

CVE NOT AVAILABLE CWE-310  (opens in a new tab)

How to fix?

Upgrade shamir to version 2.0.0 or higher.

Overview

shamir is a pure Rust implementation of Shamir's secret sharing.

Affected versions of this package are vulnerable to Cryptographic Issues due to improper calculation of secret shares requirements. This reduces the security of the algorithm by restricting the crate to always using a threshold value of three, rather than a configurable limit.

CVSS Scores

version 3.1