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

CVE-2019-20399: Observable Discrepancy in libsecp256k1-rs

August 25, 2021

A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack.

References

  • github.com/advisories/GHSA-7cqg-8449-rmfv
  • github.com/paritytech/libsecp256k1/commit/11ba23a9766a5079918cd9f515bc100bc8164b50
  • nvd.nist.gov/vuln/detail/CVE-2019-20399
  • rustsec.org/advisories/RUSTSEC-2020-0156.html

Code Behaviors & Features

Detect and mitigate CVE-2019-20399 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 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy
  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/libsecp256k1-rs/CVE-2019-20399.yml

Spotted a mistake? Edit the file on GitLab.

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

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