Authentication Bypass in Try Mode Affecting hapi-auth-jwt2 package, versions <5.1.2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.32% (71st 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 IDnpm:hapi-auth-jwt2:20160128
  • published28 Jan 2016
  • disclosed28 Jan 2016
  • creditAlan Shaw

Introduced: 28 Jan 2016

CVE-2016-10525  (opens in a new tab)
CWE-592  (opens in a new tab)

How to fix?

Upgrade to version 5.1.2 or greater.

Overview

Authentication bypass issues exist in hapi-auth-jwt2 version 5.1.1, when try authentication mode is used, request.auth.isAuthenticated will be set to true for unauthenticated users.

CVSS Scores

version 3.1