{"id":"GHSA-8j98-cjfr-qx3h","summary":"github.com/ecies/go vulnerable to possible private key restoration","details":"### Impact\nIf functions `Encapsulate()`, `Decapsulate()` and `ECDH()` could be called by an attacker, he could recover any private key that he interacts with.\n\n### Patches\nPatched in v2.0.8\n\n### Workarounds\nYou could manually check public key by calling `IsOnCurve()` function from secp256k1 libraries.\n\n### References\nhttps://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md\n","aliases":["CVE-2023-49292","GO-2023-2380"],"modified":"2023-12-11T15:58:19.251706Z","published":"2023-12-05T23:30:56Z","database_specific":{"nvd_published_at":"2023-12-05T00:15:09Z","cwe_ids":["CWE-200"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-12-05T23:30:56Z"},"references":[{"type":"WEB","url":"https://github.com/ecies/go/security/advisories/GHSA-8j98-cjfr-qx3h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49292"},{"type":"WEB","url":"https://github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd"},{"type":"WEB","url":"https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md"},{"type":"PACKAGE","url":"https://github.com/ecies/go"},{"type":"WEB","url":"https://github.com/ecies/go/releases/tag/v2.0.8"}],"affected":[{"package":{"name":"github.com/ecies/go/v2","ecosystem":"Go","purl":"pkg:golang/github.com/ecies/go/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-8j98-cjfr-qx3h/GHSA-8j98-cjfr-qx3h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}