Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. firebase/php-jwt
  4. ›
  5. GHSA-h533-5v22-8vcp

GHSA-h533-5v22-8vcp: firebase/php-jwt: "None" Algorithm treated as valid on tokens

May 15, 2024

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/firebase/php-jwt/2015-04-02.yaml
  • github.com/advisories/GHSA-h533-5v22-8vcp
  • github.com/firebase/php-jwt
  • github.com/firebase/php-jwt/commit/b2c2be6a45fda769c8c2ffe5ec4259a9d1e46e5b

Code Behaviors & Features

Detect and mitigate GHSA-h533-5v22-8vcp 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.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Source file

packagist/firebase/php-jwt/GHSA-h533-5v22-8vcp.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:43 +0000.