Timing Attack Affecting libsecp256k1-rs package, versions <0.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-LIBSECP256K1RS-1584116
  • published11 Sept 2021
  • disclosed22 Jan 2020
  • creditUnknown

Introduced: 22 Jan 2020

CVE-2019-20399  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade libsecp256k1-rs to version 0.3.1 or higher.

Overview

libsecp256k1-rs is a secp256k1 implementation and utilities.

Affected versions of this package are vulnerable to Timing Attack. A vulnerability in the Scalar::check_overflow function in Parity potentially allows an attacker to leak information via a side-channel attack.

References

CVSS Scores

version 3.1