Vulnerability
CVE-2023-49292
ecies is an Elliptic Curve Integrated Encryption Scheme for secp256k1 in Golang. If funcations Encapsulate(), Decapsulate() and ECDH() could be called by an attacker, they could recover any private key that interacts with it. This vulnerability was patched in 2.0.8. Users are advised to upgrade.
6 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
AZL-37343
CVE-2023-49292 affecting package golang for versions less than 1.21.6-1
-
AZL-37392
CVE-2023-49292 affecting package golang for versions less than 1.21.6-1
-
AZL-58246
CVE-2023-49292 affecting package golang for versions less than 1.20.7-1
-
AZL-78898
CVE-2023-49292 affecting package golang 1.25.7-1
-
GHSA-8j98-cjfr-qx3h
github.com/ecies/go vulnerable to possible private key restoration
-
GO-2023-2380
Private key recovery via invalid curve point in github.com/ecies/go/v2
References
- https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md
- https://github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd
- https://github.com/ecies/go/releases/tag/v2.0.8
- https://github.com/ecies/go/security/advisories/GHSA-8j98-cjfr-qx3h