Description
light-oauth2 before version 2.1.27 obtains the public key without any verification. This could allow attackers to authenticate to the application with a crafted JWT token.
Remediation
References
https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md
https://github.com/networknt/light-oauth2/issues/369
Related Vulnerabilities
CVE-2017-16180 Vulnerability in npm package serverabc
CVE-2020-6429 Vulnerability in maven package org.webjars.npm:electron
CVE-2018-16487 Vulnerability in maven package org.webjars.npm:lodash.merge
CVE-2020-28271 Vulnerability in npm package deephas
CVE-2021-31597 Vulnerability in npm package xmlhttprequest-ssl