Access Restriction Bypass Affecting angular-jwt package, versions <0.1.10


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.14% (49th percentile)
Expand this section
NVD
6.5 medium

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:angular-jwt:20180605
  • published 16 Aug 2018
  • disclosed 5 Jun 2018
  • credit Stephan Hauser

How to fix?

Upgrade angular-jwt to version 0.1.10 or higher.

Overview

angular-jwt is a library to help you work with JWTs.

Affected versions of this package are vulnerable to Access Restriction Bypass. Due to treating whiteListedDomains entries as regular expressions, An attacker with knowledge of the jwtInterceptorProvider.whiteListedDomains setting could bypass the domain whitelist filter via a crafted domain.