Advisory

RUSTSEC-2020-0160

Also known as: GHSA-978j-88f3-p5j3

Summary

Threshold value is ignored (all shares are n=3)

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-01-21 12:00 UTC
Modified
2023-11-08 04:17 UTC

Affected packages and fixes

shamir

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 2.0.0 (semver)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    cargo update -p shamir --precise 2.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences