CVE-2022-50237 json
`ed25519-dalek` Double Public Key Signing Function Oracle Attack
published 2022-06-11 4 y ago modified 2026-06-17 4 mo ago also GHSA-w5vr-6qhr-36cc , RUSTSEC-2022-0093 , EUVD-2022-55212
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
The ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.
Patch / fix
- crates.io ed25519-dalek 2.0.0
- dalek-cryptography ed25519-dalek 2
- pijul openSUSE Tumbleweed 1.0.0~beta.23-1.1
opensuse advisories openSUSE-SU-2026:11838-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50237 updated cvss 5.9
ed25519-dalek: ed25519-dalek: Private Key Extraction Vulnerability
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/vector-rhel9, openshift-logging/eventrouter-rhel9, openshift-logging/cluster-logging-rhel9-operator, openshift-logging/log-file-metric-exporter-rhel9, openshift-logging/cluster-logging-operator-bundle Red Hat Enterprise Linux 9 trustee-guest-components Red Hat Enterprise Linux 10 rust-sequoia-sq, rust-sequoia-sqv, trustee-guest-components Red Hat OpenShift Container Platform 4 kata-containers Red Hat Trusted Artifact Signer rhtas/tuffer-rhel9, rhtas/tuftool-rhel9 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-trustification-service-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | ed25519-dalek | <2.0.0 >=0.0.0-0, <2.0.0 |
2.0.0 |
Affected products
- dalek-cryptography ed25519-dalek
Classification
- Weakness
-
- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
Sources
- CVE List CVE-2022-50237
- GitHub Advisory GHSA-w5vr-6qhr-36cc
- NVD CVE-2022-50237
- OSV RUSTSEC-2022-0093
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.