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 scanRelated Issues
- bson-objectid contains Improper input validation - CVE-2019-19729
- Improper Verification of Communication Channel in @theia/plugin-ext - CVE-2021-41038
- Message Signature Bypass in openpgp - CVE-2019-9153
- Invalid Curve Attack in openpgp - CVE-2019-9155


