GitHub Advisory Database
GHSA-qmvq-f3fj-m3wg
OpenPGP 1.2.0 and earlier decrypts arbitrary messages
Details
s2k.js in OpenPGP.js will decrypt arbitrary messages regardless of passphrase for crafted PGP keys which allows remote attackers to bypass authentication if message decryption is used as an authentication mechanism via a crafted symmetrically encrypted PGP message.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | openpgp | All versions before 1.3.0 (fixed in 1.3.0) |