Description
When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.
Remediation
References
https://github.com/dwyl/hapi-auth-jwt2/issues/111
https://github.com/dwyl/hapi-auth-jwt2/pull/112
https://nodesecurity.io/advisories/81
Related Vulnerabilities
CVE-2021-27292 Vulnerability in npm package ua-parser-js
CVE-2020-36732 Vulnerability in maven package org.webjars.npm:crypto-js
CVE-2019-10754 Vulnerability in maven package org.apereo.cas:cas-server-core-services-api
CVE-2021-32853 Vulnerability in npm package erxes
CVE-2022-37616 Vulnerability in maven package org.webjars.npm:xmldom