Every CVE Search/ Get API key

CVE-2023-31580

light-oauth2 missing public key verification

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.69%Up 0.6 points since Oct 25, 2023
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2023-31580
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-295
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2023-31580
Updated
2026-11-02
EUVDEUVD-2023-2786 No score

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.

Record
EUVD-2023-2786
Updated
2026-11-03
GitHub AdvisoriesGHSA-mx47-h5fv-ghwh 5.9

light-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.

Record
GHSA-mx47-h5fv-ghwh
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-295, CWE-347
Updated
2026-11-02
OSVGHSA-mx47-h5fv-ghwh 5.9

light-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.

Record
GHSA-mx47-h5fv-ghwh
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-295, CWE-347
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.networknt:light-oauth2
Maven
before 2.1.27
2.1.27
com.networknt:light-oauth2
Maven
before 2.1.27, plus listed versions
1.2.41.3.11.3.41.3.51.4.0
Show 24 moreShow less
1.5.42.1.02.1.12.1.102.1.112.1.122.1.152.1.162.1.182.1.192.1.22.1.202.1.222.1.232.1.242.1.252.1.262.1.32.1.42.1.52.1.62.1.72.1.82.1.9
2.1.27

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-31580 is a medium vulnerability (CVSS 5.9) in Networknt Light-oauth2, published October 24, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.69%, the 52nd percentile. Fixed in com.networknt:light-oauth2 2.1.27.

References

MoveEnter Open