Authentication Bypass Affecting openpgp Open this link in a new tab package, versions <1.3.0


0.0
high
  • Attack Complexity

    Low

  • Confidentiality

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-JS-OPENPGP-2932022

  • published

    19 Jun 2022

  • disclosed

    17 May 2022

  • credit

    jhutchings1

How to fix?

Upgrade openpgp to version 1.3.0 or higher.

Overview

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.