Skip to content
Heist/ feed
Back to feed
Medium

Possible private key restoration in go package github.com/ecies/go

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-49292
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:23 UTC · Revision 1

Source evidence

Possible private key restoration in go package github.com/ecies/go

core-osv · Original source

Published 4 Dec 2023, 23:12 UTC

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.

osv:CVE-2023-49292
Complete source record
{
  "id": "87c37a19c95f84e15b1213101aa636af195e9714dd70c2b9786f32b0a96fc7db",
  "url": "https://osv.dev/vulnerability/CVE-2023-49292",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Possible private key restoration in go package github.com/ecies/go",
    "summary": "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.",
    "evidence": "osv:CVE-2023-49292",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-49292",
      "aliases": [
        "CVE-2023-49292",
        "GHSA-8j98-cjfr-qx3h",
        "GO-2023-2380"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ecies/go",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c6e775163866d6ea5233eb8ec8530a9122101ebd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c6e775163866d6ea5233eb8ec8530a9122101ebd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c6e775163866d6ea5233eb8ec8530a9122101ebd"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.0.8"
                  },
                  {
                    "cpe": "cpe:2.3:a:ecies:go:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49292.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.668243975Z",
      "provider": "osv",
      "references": [
        "https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md",
        "https://github.com/ecies/go/releases/tag/v2.0.8",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49292.json",
        "https://github.com/ecies/go/security/advisories/GHSA-8j98-cjfr-qx3h",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-49292",
        "https://github.com/ecies/go/commit/c6e775163866d6ea5233eb8ec8530a9122101ebd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49292.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-49292",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503037,
  "published_at": "2023-12-04T23:12:03.059+00:00"
}