Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. curve25519-dalek
  4. ›
  5. GHSA-4hff-hh47-7788

GHSA-4hff-hh47-7788: Duplicate Advisory: curve25519-dalek has timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`

July 27, 2025 (updated July 28, 2025)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-x4gp-pqpj-f43q. This link is maintained to preserve external references.

Original Description

The curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.

References

  • crates.io/crates/curve25519-dalek
  • github.com/advisories/GHSA-4hff-hh47-7788
  • github.com/dalek-cryptography/curve25519-dalek
  • github.com/dalek-cryptography/curve25519-dalek/pull/659
  • nvd.nist.gov/vuln/detail/CVE-2024-58262
  • rustsec.org/advisories/RUSTSEC-2024-0344.html

Code Behaviors & Features

Detect and mitigate GHSA-4hff-hh47-7788 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 4.1.3

Fixed versions

  • 4.1.3

Solution

Upgrade to version 4.1.3 or above.

Impact 2.9 LOW

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

Learn more about CVSS

Weakness

  • CWE-733: Compiler Optimization Removal or Modification of Security-critical Code

Source file

cargo/curve25519-dalek/GHSA-4hff-hh47-7788.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 19 Aug 2025 12:18:47 +0000.