6.0.1
10 years ago
24 days ago
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 freeVulnerability | Vulnerable Version |
---|---|
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature when the Note:
This is only exploitable if the user or application verifies the How to fix Improper Verification of Cryptographic Signature? Upgrade | <4.10.11>=5.0.0 <5.10.1 |
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Authentication Bypass due to insecure implementation of the S2K method. S2K decrypts arbitrary messages regardless of passphrase for the crafted PGP keys, this would allow remote attackers to bypass authentication if message decryption is used as an authentication mechanism via a crafted symmetrically encrypted PGP message. How to fix Authentication Bypass? Upgrade | <1.3.0 |
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Cryptographic Issues. Chosen-ciphertext attacks are possible since compression is not supported in openpgp.write_encrypted_message. How to fix Cryptographic Issues? Upgrade | <0.10.0 |
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Invalid Curve Attack. It allows an attacker, who is already able provide forged messages and gain feedback about whether decryption of these messages succeeded, to conduct an invalid curve attack in order to gain the victim's ECDH private key. How to fix Invalid Curve Attack? Upgrade | <4.2.1 |
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Message Signature Bypass. OpenPGP defines several types of signatures with each type carrying a different semantic. Signatures are implemented as packets and each signature packet can contain subpackets. To indicate a message signature (e.g. a signed e-mail), the signature type “text” is used. The text signature packet verifies both its subpackets as well as the signed text. During verification of a message signature, OpenPGP.js does not verify that the signature is of type text. An attacker could therefore construct a message that, instead of a text signature, contains a signature of another type. As the input required for the verification process depends on the signature type, an attacker could use a signature with a type that only verifies its subpackets and does not require additional input. An attacker could construct a message that contains a valid “standalone” or “timestamp” signature packet signed by another person. OpenPGP.js would incorrectly assume this message to be signed by that person. How to fix Message Signature Bypass? Upgrade | <4.2.0 |
openpgp is a JavaScript implementation of the OpenPGP protocol. Affected versions of this package are vulnerable to Improper Authentication. OpenPGP signature subpackets contain information related to a signature (e.g. the creation timestamp). These subpackets may appear in a “hashed” and “unhashed” subpacket container. While the information in the hashed subpackets is signed, the unhashed subpackets are not cryptographically protected. An attacker could arbitrarily modify the contents of e.g. a key certification signature or revocation signature. As a result, the attacker could e.g. convince a victim to use an obsolete key for encryption. How to fix Improper Authentication? Upgrade | <4.2.0 |