Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-50237 — ed25519-dalek

🟡 CVSS 5.9 — Medium ✅ No Known Exploit CWE-497 NVD
5.9
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Double Public Key Signing Function Oracle Attack on ed25519-dalek

Versions of ed25519-dalek prior to v2.0 model 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.

Such APIs and serializations 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 differ on the S part.

Unfortunately, when this happens, one can easily extract the private key.

Revised public APIs in v2.0 of ed25519-dalek do NOT allow a decoupled

private/public keypair as signing input, except as part of specially labeled

"hazmat" APIs which are clearly labeled as being dangerous if misused.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2022-50237 is classified as CWE-497: Exposure of System Data to Unauthorized Control Sphere. Internal system details are revealed to callers who should not have them.

Affected software

CVE-2022-50237 is recorded against 2 packages.

  • ed25519-dalek
  • unknown

Timeline and source

Published on 14 August 2023 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
rustsec.org (Web)

Other advisories for this package

ed25519-dalek has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-497: Exposure of System Data to Unauthorized Control Sphere) in other software:

CVE-2022-50237 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 5.9
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CWE CWE-497
Public Exploit ✅ No
Source NVD
Published 2023-08-14
Updated 2026-08-20
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
ed25519-dalek — —
unknown — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in ed25519-dalek

CVE-2022-50237 is rated CVSS 5.9 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022
✓