CVE-2023-31580
MEDIUM 5.9CVSS 3.1light-oauth2 missing public key verification
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.
- Published
- 25 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295CWE-347
- Also known as
- GHSA-mx47-h5fv-ghwh
- Sources
- NVDJSONOSV GHSA-mx47-h5fv-ghwhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | networknt | light-oauth2cpe:2.3:a:networknt:light-oauth2:*:*:*:*:*:*:*:* |
< 2.1.27 | 2.1.27 |
| OSV | Maven | com.networknt:light-oauth2 | < 2.1.27 | 2.1.27 |
References
- https://github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md · Exploit, WEB
- https://github.com/networknt/light-oauth2/issues/369 · Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-31580 · ADVISORY
- https://github.com/networknt/light-oauth2 · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 25 Oct 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Oct 2023)