Vulnerability library
Security checkFebruary 01, 2023

Invalid Curve Attack in openpgp

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmopenpgp

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated February 01, 2023