Advisory

RUSTSEC-2019-0027

Also known as: CVE-2019-25003, GHSA-hrjm-c879-pp86

Summary

Flaw in Scalar::check_overflow allows 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: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2019-10-14 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

libsecp256k1

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 --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