{"id":"CVE-2023-31580","aliases":["CVE-2023-31580","GHSA-mx47-h5fv-ghwh"],"related":[],"kind":"vulnerability","state":"published","title":"light-oauth2 missing public key verification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"light-oauth2 anterior a la versión 2.1.27 obtiene la clave pública sin ninguna verificación. Esto podría permitir a los atacantes autenticarse en la aplicación con un token JWT manipulado.","source":"nvd"}],"published":"2023-10-24T00:00:00.000Z","modified":"2026-06-17T05:57:11.787Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-295","CWE-347"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.27"}],"ecosystem":"Maven","package":"com.networknt:light-oauth2","purl":"pkg:maven/com.networknt/light-oauth2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.27"}],"vendor":"networknt","product":"light-oauth2","cpe":"cpe:2.3:a:networknt:light-oauth2:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/networknt/light-oauth2/issues/369","tags":["issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md","tags":["exploit","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31580","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/networknt/light-oauth2","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-09-11T14:59:04.716Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-31580","url":"https://www.cve.org/CVERecord?id=CVE-2023-31580","licence":"CVE Terms of Use","modified":"2024-09-17T13:42:54.139Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mx47-h5fv-ghwh","url":"https://github.com/advisories/GHSA-mx47-h5fv-ghwh","licence":"CC-BY-4.0","modified":"2024-02-16T08:21:33.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-31580","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31580","licence":"Public domain","modified":"2026-06-17T05:57:11.787Z"}],"updatedAt":"2026-11-25T22:58:29.041Z","epss":{"score":0.00686,"percentile":0.53925,"date":"2026-12-01T12:00:22.000Z"}}