CVE-2022-50237
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.
What to do
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-curve25519-dalek | Fix pending | UBUNTU-CVE-2022-50237 | |
| Ubuntu 26.04 | rust-curve25519-dalek | Under investigation | UBUNTU-CVE-2022-50237 | |
| Ubuntu 25.10 | rust-curve25519-dalek | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-50237 | |
| Red Hat Enterprise Linux 10 | rust-sequoia-sq | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-sequoia-sqv | Not affected | ||
| Red Hat Enterprise Linux 10 | sequoia-sq | Not affected | ||
| Red Hat Enterprise Linux 10 | sequoia-sqv | Not affected | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Not affected | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Not affected | ||
| crates.io library | ed25519-dalek | Fixed | 2.0.0 | GHSA-w5vr-6qhr-36cc |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- dalek-cryptography ed25519-dalek: affected: before 2; fixed in
2
References
- https://rustsec.org/advisories/RUSTSEC-2022-0093.html
- https://github.com/MystenLabs/ed25519-unsafe-libs
- https://crates.io/crates/ed25519-dalek
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.