1. Archivio CVE
  2. 2025
  3. CVE-2025-30144

CVE-2025-30144

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N 6.5 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nearform fast-jwt < 5.0.6 –
Tutte le 14 vulnerabilità di Nearform Fast-jwt

Tipo di vulnerabilità

CWE-290 Aggiramento dell’autenticazione tramite spoofing

Lo schema di autenticazione è implementato in modo da poter essere ingannato da un attaccante che si spaccia per un altro soggetto (per esempio falsificando un indirizzo o un’intestazione).

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Tutte le 846 CVE di tipo CWE-290, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org