p PatchFirst

CVE-2025-30144

CVE-2025-30144 · Fast-JWT Improperly Validates iss Claims

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 5.0.6, the fast-jwt library does not properly validate the iss claim based on the RFC 7519. The iss (issuer) claim validation within the fast-jwt library permits an array of strings as a valid iss value. This design flaw enables a potential attack where a malicious actor crafts a JWT with an iss claim structured as ['https://attacker-domain/', 'https://valid-iss']. Due to the permissive validation, the JWT will be deemed valid. Furthermore, if the application relies on external libraries like get-jwks that do not independently validate the iss claim, the attacker can leverage this vulnerability to forge a JWT that will be accepted by the victim application. Essentially, the attacker can insert their own domain into the iss array, alongside the legitimate issuer, and bypass the intended security checks. This issue is fixed in 5.0.6.

CVSS 6.5 · Moyenne · EPSS 0,6% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • fast-jwt

    Versions du logiciel
    • < 5.0.6: Concernée

    Aucun correctif publié

  • fast-jwt npm

    Plages de versions concernées
    • SEMVER: < 5.0.6

    Mettez à jour vers 5.0.6

Sources originales

Vérifiez votre serveur →