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

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T21:38:49.000Z
- Modified: 2024-11-29T05:32:23.815Z

## Description

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

(As written by GitHub Advisory Database.)

## Affected

- firebase/php-jwt (Packagist): before 2.0.0

## References

- <https://github.com/firebase/php-jwt/commit/b2c2be6a45fda769c8c2ffe5ec4259a9d1e46e5b> (web)
- <https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries> (web)
- <https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/firebase/php-jwt/2015-04-02.yaml> (web)
- <https://github.com/firebase/php-jwt> (package)

## Sources

- GitHub Advisory Database: [GHSA-h533-5v22-8vcp](https://github.com/advisories/GHSA-h533-5v22-8vcp), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-h533-5v22-8vcp · Whole record: https://cve.day/GHSA-h533-5v22-8vcp.json · Rebuilt by cve.day 2026-11-25T22:56:32.253Z
