Authentication Bypass Affecting openpgp package, versions <1.3.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

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 Learn

Learn about Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OPENPGP-2932022
  • published19 Jun 2022
  • disclosed17 May 2022
  • creditjhutchings1

Introduced: 17 May 2022

CVE-2015-8013  (opens in a new tab)
CWE-287  (opens in a new tab)

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.

CVSS Scores

version 3.1