{"id":"RUSTSEC-2019-0027","summary":"Flaw in Scalar::check_overflow allows side-channel timing attack","details":"Versions of `libsecp256k1` prior to `0.3.1` did not execute\nScalar::check_overflow in constant time.\n\nThis allows an attacker to potentially leak information via a timing attack.\n\nThe flaw was corrected by modifying Scalar::check_overflow to execute in\nconstant time.","aliases":["CVE-2019-25003","GHSA-hrjm-c879-pp86"],"modified":"2023-11-08T04:01:32.045348Z","published":"2019-10-14T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/libsecp256k1"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0027.html"}],"affected":[{"package":{"name":"libsecp256k1","ecosystem":"crates.io","purl":"pkg:cargo/libsecp256k1"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":["libsecp256k1::Scalar::check_overflow"],"os":[],"arch":[]}},"database_specific":{"categories":["crypto-failure"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0027.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}