Descrizione
web-token jwt-framework 1.2.0 before 3.4.10, jwt-experimental before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a missing integrity check in the experimental Chacha20Poly1305 key-encryption algorithm, which discards the Poly1305 tag in encryptKey() and calls openssl_decrypt() without it in decryptKey(). Attackers on the token path can modify the encrypted content encryption key undetected.
Tipo di vulnerabilità
CWE-353
Missing Support for Integrity Check
The product uses a transmission protocol that does not include a mechanism for verifying the integrity of the data during transmission, such as a checksum.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Integrità, Altro |
Altro, Nascondere le proprie attività |
Come si previene
Architettura e progettazione
Add an appropriately sized checksum to the protocol, ensuring that data received may be simply validated before it is parsed and used.
Sviluppo
Ensure that the checksums present in the protocol design are properly implemented and added to each message before it is sent.
Tutte le 37 CVE di tipo CWE-353, con andamento e prevenzione