What’s Vulnerable › Vulnerabilities
CVE-2023-49292: Possible private key restoration in go package github.com/ecies/go
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-12-05 · updated 2026-06-17
- Weakness: CWE-200
Description
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.
Affected products
- ecies go: before 2.0.8 — fixed in 2.0.8
How to fix
Upgrade to a fixed version: ecies go 2.0.8. Check the vendor advisory for mitigations.
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
- 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
Get alerted when CVE-2023-49292 or the next vulnerability affects your stack