Advisory

GHSA-hrjm-c879-pp86

Also known as: CVE-2019-25003, RUSTSEC-2019-0027

Summary

libsecp256k1 contains side-channel timing attack

Details

Versions of libsecp256k1 prior to 0.3.1 did not execute Scalar::check_overflow in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying Scalar::check_overflow to execute in constant time.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:46 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

libsecp256k1

crates.io · All systems

Affected

  • introduced 0, fixed 0.3.1 (semver)

Fixed versions

0.3.1

Fix

  • Fixed version 0.3.1
    cargo update -p libsecp256k1 --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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences