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-2020-13942 Vulnerability in maven package org.apache.unomi:unomi-services
CVE-2022-41713 Vulnerability in maven package org.webjars.npm:deep-object-diff
CVE-2011-5063 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2022-2216 Vulnerability in maven package org.webjars.npm:parse-url