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

CVE-2026-137564

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

Descrizione

web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nats jwt library < 3.4.13 –
nats jwt library >= 4.0.0 < 4.0.9 –
nats jwt library >= 4.1.0 < 4.1.11 –
nats jwt library >= 4.2.0 < 4.2.6 –
Tutte le 15 vulnerabilità di Nats Jwt Library

Tipo di vulnerabilità

CWE-326 Cifratura di forza inadeguata

Il prodotto conserva o trasmette dati sensibili con uno schema di cifratura corretto in teoria, ma non abbastanza robusto per il livello di protezione richiesto.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Riservatezza Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Use an encryption scheme that is currently considered to be strong by experts in the field.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 465 CVE di tipo CWE-326, con andamento e prevenzione

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