openEuler Security Advisory
OESA-2025-1334
ed25519-java security update
Details
This is an implementation of EdDSA in Java. Structurally, it is based on the ref10 implementation in SUPERCOP (see http://ed25519.cr.yp.to/software.html). There are two internal implementations: * A port of the radix-2^51 operations in ref10 - fast and constant-time, but only useful for Ed25519. * A generic version using BigIntegers for calculation - a bit slower and not constant-time, but compatible with any EdDSA parameter specification.
Security Fix(es):
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.(CVE-2020-36843)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP3 | ed25519-java | All versions before 0.3.0-5.oe2203sp3 (fixed in 0.3.0-5.oe2203sp3) |
| openEuler:22.03-LTS-SP4 | ed25519-java | All versions before 0.3.0-5.oe2203sp4 (fixed in 0.3.0-5.oe2203sp4) |
| openEuler:24.03-LTS | ed25519-java | All versions before 0.3.0-5.oe2403sp1 (fixed in 0.3.0-5.oe2403sp1) |
| openEuler:24.03-LTS-SP1 | ed25519-java | All versions before 0.3.0-5.oe2403sp1 (fixed in 0.3.0-5.oe2403sp1) |
| openEuler:20.03-LTS-SP4 | ed25519-java | All versions before 0.3.0-5.oe2003sp4 (fixed in 0.3.0-5.oe2003sp4) |