Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.networknt/light-oauth2
  4. ›
  5. CVE-2023-31580

CVE-2023-31580: light-oauth2 missing public key verification

October 25, 2023 (updated October 31, 2023)

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.

References

  • github.com/KANIXB/JWTIssues/blob/main/Certification%20Verification%20issue%20in%20light-oauth2.md
  • github.com/advisories/GHSA-mx47-h5fv-ghwh
  • github.com/networknt/light-oauth2/issues/369
  • nvd.nist.gov/vuln/detail/CVE-2023-31580

Code Behaviors & Features

Detect and mitigate CVE-2023-31580 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.27

Fixed versions

  • 2.1.27

Solution

Upgrade to version 2.1.27 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/com.networknt/light-oauth2/CVE-2023-31580.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:11 +0000.