Skip to content
OpenAdvisories
Critical GHSA-9gxv-x7rp-r2hc

gree/jose - "None" Algorithm treated as valid in tokens

Published May 15, 2024 · Updated Jul 16, 2026 · Assigned by GHSA

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

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist gree/jose < 2.2.1 2.2.1 GHSA-9gxv-x7rp-r2hc

References