Authentication Bypass Affecting org.webjars.npm:openpgp package, versions [,1.3.0)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.25% (65th percentile)
Expand this section
NVD
7.5 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-JAVA-ORGWEBJARSNPM-2932023
  • published 19 Jun 2022
  • disclosed 17 May 2022
  • credit jhutchings1

How to fix?

Upgrade org.webjars.npm:openpgp to version 1.3.0 or higher.

Overview

org.webjars.npm: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.