GitHub Advisory Database
GHSA-p2hp-3wv3-4w74
ecdh vulnerable to Exposure of Resource to Wrong Sphere
Details
In Development IL ecdh before 0.2.0, an attacker can send an invalid point (not on the curve) as the public key, and obtain the derived shared secret.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | ecdh | All versions before 0.2.0 (fixed in 0.2.0) |