Advisory

RUSTSEC-2020-0156

Also known as: CVE-2019-20399, GHSA-7cqg-8449-rmfv

Summary

Observable Discrepancy in libsecp256k1-rs

Details

A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

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

Affected packages and fixes

libsecp256k1-rs

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.3.1 (semver)

Fixed versions

0.3.1

Fix

  • Fixed version 0.3.1
    cargo update -p libsecp256k1-rs --precise 0.3.1

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