GHSA-p53j-g8pw-4w5f
Ed25519 Signature Malleability in ed25519-java Due to Missing Scalar Range Check
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | net.i2p.crypto:eddsa | <= 0.3.0 | no fix listed |
| Maven | net.i2p:i2p | < 0.9.39 | 0.9.39 |
Details
As written in the advisory (Markdown source, shown as plain text).
The implementation of EdDSA in EdDSA-Java (aka ed25519-java) through 0.3.0 exhibits signature malleability and does not satisfy the SUF-CMA (Strong Existential Unforgeability under Chosen Message Attacks) property. This allows attackers to create new valid signatures different from previous signatures for a known message.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-36843
- https://github.com/str4d/ed25519-java/issues/82#issue-727629226
- https://github.com/i2p/i2p.i2p/commit/d7d1dcb5399c61cf2916ccc45aa25b0209c88712#diff-658f7b1aa34b58d27796fccdb8b756c72702d64ae44703374960f1cb…
- https://eprint.iacr.org/2020/1244
- https://github.com/str4d/ed25519-java