Vulnerability library
Security checkJanuary 09, 2023

Improper Key Verification in openpgp

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

High 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.2.0 are vulnerable to Improper Key Verification. The OpenPGP standard allows signature packets to have subpackets which may be hashed or unhashed. Unhashed subpackets are not cryptographically protected and cannot be trusted. The openpgp package does not verify whether a subpacket is hashed.

Recommendation

Update the openpgp package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 4.1.2
  • Patched version(s): 4.2.0

References

Could your website be exposed too?

SmartScanner can check your website for Improper Key Verification in openpgp and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023