Affected versions
npmecdh
- Affected versions
- < 0.2.0
- Fixed version
- 0.2.0
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-p2hp-3wv3-4w74
- https://github.com/developmentil/ecdh
- https://github.com/developmentil/ecdh/commit/ef4560e7233f4e8107a17a77bc540121599c78fa
- https://github.com/developmentil/ecdh/issues/3
- https://github.com/developmentil/ecdh/pull/4
- https://nvd.nist.gov/vuln/detail/CVE-2022-44310

