Advisory record · GHSA-8j98-cjfr-qx3h

Private key recovery via invalid curve point in github.com/ecies/go/v2

CVSS 4.9 MediumEPSS 0.0034 · 27th percentile

Published by the GitHub Advisory Database at 11 Dec 2023, 15:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/ecies/go/v2Go<2.0.82.0.8
Identifiers
GHSA-8j98-cjfr-qx3h · CVE-2023-49292 · GO-2023-2380
Weakness (CWE)
CWE-200
Published
11 Dec 2023
Updated
20 May 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of github.com/ecies/go/v2 before 2.0.8 are affected. The ECDH function does not check whether a supplied public key lies on the curve, so an attacker who can supply a crafted public key that is not on the curve may be able to recover the private key. Upgrade to version 2.0.8. If upgrading is not possible, manually validate public keys by calling the IsOnCurve function from the secp256k1 library before passing them to ECDH.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.9 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 27th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 11 Dec 2023. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.