Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. gree/jose
  4. ›
  5. GHSA-9gxv-x7rp-r2hc

GHSA-9gxv-x7rp-r2hc: gree/jose - "None" Algorithm treated as valid in tokens

May 15, 2024 (updated July 16, 2026)

Several widely-used JSON Web Token (JWT) libraries, including node-jsonwebtoken, pyjwt, namshi/jose, php-jwt, and jsjwt, are affected by critical vulnerabilities that could allow attackers to bypass the verification step when using asymmetric keys (RS256, RS384, RS512, ES256, ES384, ES512).

References

  • auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries
  • auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries
  • github.com/FriendsOfPHP/security-advisories/blob/master/gree/jose/2016-08-30.yaml
  • github.com/advisories/GHSA-9gxv-x7rp-r2hc
  • github.com/nov/jose-php/compare/2.2.0...2.2.1

Code Behaviors & Features

Detect and mitigate GHSA-9gxv-x7rp-r2hc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.1

Fixed versions

  • 2.2.1

Solution

Upgrade to version 2.2.1 or above.

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

packagist/gree/jose/GHSA-9gxv-x7rp-r2hc.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:35 +0000.