{"cve":"CVE-2023-31580","nvd":{"published":"2023-10-25T18:17:27.680","modified":"2026-06-17T05:57:11.787","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-295"],"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"],"products":["networknt:light-oauth2"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-31580","score":0.00686,"percentile":0.52668,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mx47-h5fv-ghwh","url":"https://osv.dev/vulnerability/GHSA-mx47-h5fv-ghwh","summary":"light-oauth2 missing public key verification","modified":"2024-02-16T08:21:33.704912Z","packages":[{"ecosystem":"Maven","name":"com.networknt:light-oauth2","purl":"pkg:maven/com.networknt/light-oauth2","ranges":["<2.1.27"],"fixed":["2.1.27"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}