openpgp@4.10.10 vulnerabilities

OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.

Direct Vulnerabilities

Known vulnerabilities in the openpgp package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Improper Verification of Cryptographic Signature

openpgp is a JavaScript implementation of the OpenPGP protocol.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature when the openpgp.readCleartextMessage() and openpgp.cleartext.readArmored() functions are used. An attacker can manipulate the contents of a Cleartext Signed Message, leading the victim to believe that the manipulated text was signed by the original sender.

Note: This is only exploitable if the user or application verifies the CleartextMessage by only checking the returned verified property, discarding the associated data information, and instead visually trusting the contents of the original message.

How to fix Improper Verification of Cryptographic Signature?

Upgrade openpgp to version 4.10.11, 5.10.1 or higher.

<4.10.11 >=5.0.0 <5.10.1