Authentication Bypass Affecting jsjws package, versions <2.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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 npm:jsjws:20150531
  • published 20 Oct 2016
  • disclosed 31 Mar 2016
  • credit Tim McLean

Introduced: 31 Mar 2016

CVE NOT AVAILABLE CWE-592 Open this link in a new tab

How to fix?

Upgrade jsjws to version 2.0.0 or higher.

Overview

The jsjws is a pure JavaScript implementation of JSON Web Signature. JSON Web Tokens are an open, industry standard method for representing claims securely between two parties.

Affected versions of this module treated tokens signed with the none algorithm as a valid token with a verified signature and resulted in giving attackers arbitrary account access.

CVSS Scores

version 3.1
Expand this section

Snyk

8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None