github.com/ecies/go/v2
Affected
- introduced
0, fixed2.0.8(semver)
Fixed versions
2.0.8
Fix
- Fixed version
2.0.8go get github.com/ecies/go/[email protected]
Advisory
Also known as: CVE-2023-49292, GHSA-8j98-cjfr-qx3h
Private key recovery via invalid curve point in github.com/ecies/go/v2
An attacker may be able to recover private keys due to a bug in the ECDH function.
The library does not check whether the provided public key is on the curve, which means that an attacker can create a public key that is not on the curve and use it to recover the private key.
A workaround is to manually check that the public key is valid by calling the IsOnCurve function from the secp256k1 libraries.
Not rated by the source.
0, fixed 2.0.8 (semver)2.0.8
2.0.8go get github.com/ecies/go/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0