1. Archivio CVE
  2. 2026
  3. CVE-2026-107724

CVE-2026-107724

7.4 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N 7.4 – Alta

Descrizione

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.2.4, fast-jwt can classify raw serialized public JWK or JWKS JSON as an HMAC secret because src/crypto.js performDetectPublicKeyAlgorithms treats non-PEM strings as symmetric key material. If HS256 is explicitly allowed or inferred, an attacker who knows the exact serialized public-key bytes can use those bytes as an HMAC key and create a token containing arbitrary claims that createVerifier accepts. Serialization ordering or whitespace differences can prevent exploitation, and applications using supported PEM keys with an asymmetric-only algorithm allowlist are not affected. This issue is fixed in version 6.3.0.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nearform fast-jwt >= 6.2.4, < 6.3.0 –
Tutte le 14 vulnerabilità di Nearform Fast-jwt

Tipo di vulnerabilità

CWE-347 Verifica impropria della firma crittografica

Il prodotto non verifica, o verifica in modo errato, la firma crittografica dei dati.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Integrità, Riservatezza Ottenere privilegi o assumere un’altra identità, Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati
Un attaccante può accedere a dati sensibili ed eventualmente eseguire codice non autorizzato.

Tutte le 950 CVE di tipo CWE-347, con andamento e prevenzione

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