Cryptographic Issues Affecting ed25519-dalek package, versions <2.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept

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 Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ED25519DALEK-5840863
  • published15 Aug 2023
  • disclosed14 Aug 2023
  • creditUnknown

Introduced: 14 Aug 2023

CVE NOT AVAILABLE CWE-310  (opens in a new tab)

How to fix?

Upgrade ed25519-dalek to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues which allows an attacker to extract the private key. Private and public keys as separate types which can be assembled into a Keypair, and also provide APIs for serializing and deserializing 64-byte private/public keypairs are inherently unsafe as the public key is one of the inputs used in the deterministic computation of the S part of the signature, but not in the R value. An adversary could somehow use the signing function as an oracle that allows arbitrary public keys as input can obtain two signatures for the same message sharing the same R and only differing on the S part.

References

CVSS Scores

version 3.1