logo

GHSA-978j-88f3-p5j3 shamir

Package

Manager: cargo
Name: shamir
Vulnerable Version: >=0 <2.0.0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:F/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Threshold value is ignored (all shares are n=3) Affected versions of this crate did not properly calculate 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. The flaw was corrected by correctly configuring the threshold.

Metadata

Created: 2022-06-17T00:18:43Z
Modified: 2022-06-17T00:18:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-978j-88f3-p5j3/GHSA-978j-88f3-p5j3.json
CWE IDs: []
Alternative ID: N/A
Finding: F052
Auto approve: 1