Description
Versions of openpgp prior to 4.3.0 are vulnerable to an Invalid Curve Attack. The package’s implementation of ECDH fails to verify the validity of the communication partner’s public key. The package calculates the resulting key secret based on an altered curve instead of the specified elliptic curve.
Recommendation
Update the openpgp package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.3.0
- Patched version(s): 4.3.0
References
Could your website be exposed too?
SmartScanner can check your website for Invalid Curve Attack in openpgp and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Invalid Curve Attack in node-jose - CVE-2017-16007
- Message Signature Bypass in openpgp - CVE-2019-9153
- Improper Key Verification in openpgp - CVE-2019-9154
- cookie-signature Timing Attack - CVE-2016-1000236


