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-2023-40314 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2021-23490 Vulnerability in npm package parse-link-header
CVE-2018-20164 Vulnerability in npm package uap-core
CVE-2021-21366 Vulnerability in maven package org.webjars.npm:xmldom
CVE-2022-37423 Vulnerability in maven package org.neo4j.procedure:apoc