GitHub Advisoryadvisory · Go

GHSA-8j98-cjfr-qx3h github.com/ecies/go vulnerable to possible private key restoration

HIGH Published 2023-12-05 Modified 2023-12-05 Official page ↗
Aliases
CVE-2023-49292
Ecosystem
Go
Packages
github.com/ecies/go/v2
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-200
Reviewed
2023-12-05

Affected packages

• Go github.com/ecies/go/v2: < 2.0.8 → fixed in 2.0.8

Description

Impact If functions `Encapsulate()`, `Decapsulate()` and `ECDH()` could be called by an attacker, he could recover any private key that he interacts with. Patches Patched in v2.0.8 Workarounds You could manually check public key by calling `IsOnCurve()` function from secp256k1 libraries. References https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md

Related

Alias · CVE (1)

  • CVE-2023-49292 ecies is an Elliptic Curve Integrated Encryption Scheme for secp256k1 in Golang. vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References