Privilege Escalation Affecting auth0-js package, versions <8.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.33% (72nd 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 ID SNYK-JS-AUTH0JS-72626
  • published 22 Nov 2018
  • disclosed 4 Apr 2018
  • credit Cinta Infinita

How to fix?

Upgrade auth0-js to version 8.0.0 or higher.

Overview

auth0-js is a Client Side Javascript toolkit for Auth0 API.

Affected versions of this package are vulnerable to Privilege Escalation via the parseHash method. It did not properly validate the JWT audience, and therefore allowed tokens intended for one tenant to be used at another.

CVSS Scores

version 3.1
Expand this section

Snyk

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