What’s Vulnerable › Vulnerabilities
CVE-2023-31580
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-25 · updated 2026-06-17
- Weakness: CWE-295
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.
Affected products
- networknt Light-Oauth2: before 2.1.27 — fixed in 2.1.27
How to fix
Upgrade to a fixed version: networknt Light-Oauth2 2.1.27. Check the vendor advisory for mitigations.
References
- https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md
- https://github.com/networknt/light-oauth2/issues/369
- https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md
- https://github.com/networknt/light-oauth2/issues/369
Get alerted when CVE-2023-31580 or the next vulnerability affects your stack