networknt/light-oauth2 · Security
light-oauth2 missing public key verification
- GHSA ID
- GHSA-mx47-h5fv-ghwh
- CVE ID
- CVE-2023-31580
- Severity
- medium
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-295 · Improper Certificate Validation
- CWE-347 · Improper Verification of Cryptographic Signature