1. Archivio CVE
  2. 2022
  3. CVE-2022-23540

CVE-2022-23540

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

Descrizione

In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification. Users are affected if you do not specify algorithms in the `jwt.verify()` function. This issue has been fixed, please update to version 9.0.0 which removes the default support for the none algorithm in the `jwt.verify()` method. There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the `none` algorithm. If you need 'none' algorithm, you have to explicitly specify that in `jwt.verify()` options.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
auth0 jsonwebtoken <= 8.5.1 node.js

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 948 CVE di tipo CWE-347, con andamento e prevenzione

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