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, GO-2023-2380
github.com/ecies/go vulnerable to possible private key restoration
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
High Basis: The source's own band: HIGH
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0