Descrizione
web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.
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
| Ambito | Impatto |
| 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.
Tutte le 465 CVE di tipo CWE-326, con andamento e prevenzione