Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libsecp256k1
  4. ›
  5. CVE-2019-25003

CVE-2019-25003: libsecp256k1 contains side-channel timing attack

August 25, 2021 (updated August 25, 2023)

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.

References

  • github.com/advisories/GHSA-hrjm-c879-pp86
  • github.com/paritytech/libsecp256k1
  • github.com/paritytech/libsecp256k1/commit/11ba23a9766a5079918cd9f515bc100bc8164b50
  • nvd.nist.gov/vuln/detail/CVE-2019-25003
  • rustsec.org/advisories/RUSTSEC-2019-0027.html

Code Behaviors & Features

Detect and mitigate CVE-2019-25003 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.1

Fixed versions

  • 0.3.1

Solution

Upgrade to version 0.3.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy

Source file

cargo/libsecp256k1/CVE-2019-25003.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.