{"id":"GHSA-mx47-h5fv-ghwh","summary":"light-oauth2 missing public key verification","details":"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.","aliases":["CVE-2023-31580"],"modified":"2024-02-16T08:21:33.704912Z","published":"2023-10-25T18:32:21Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-10-27T19:12:00Z","nvd_published_at":"2023-10-25T18:17:27Z","cwe_ids":["CWE-295","CWE-347"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31580"},{"type":"WEB","url":"https://github.com/networknt/light-oauth2/issues/369"},{"type":"WEB","url":"https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md"},{"type":"PACKAGE","url":"https://github.com/networknt/light-oauth2"}],"affected":[{"package":{"name":"com.networknt:light-oauth2","ecosystem":"Maven","purl":"pkg:maven/com.networknt/light-oauth2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.27"}]}],"versions":["1.2.4","1.3.1","1.3.4","1.3.5","1.4.0","1.5.4","2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.15","2.1.16","2.1.18","2.1.19","2.1.2","2.1.20","2.1.22","2.1.23","2.1.24","2.1.25","2.1.26","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-mx47-h5fv-ghwh/GHSA-mx47-h5fv-ghwh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}