1. Archivio CVE
  2. 2017
  3. CVE-2017-7474

CVE-2017-7474

9.8 Gravità critica CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. An attacker could use this flaw to bypass authentication and gain access to restricted information, or to possibly conduct further attacks.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
keycloak keycloak-nodejs-auth-utils 2.5.0 –
keycloak keycloak-nodejs-auth-utils 2.5.0 cr1 –
keycloak keycloak-nodejs-auth-utils 2.5.1 –
keycloak keycloak-nodejs-auth-utils 2.5.2 –
keycloak keycloak-nodejs-auth-utils 2.5.3 –
keycloak keycloak-nodejs-auth-utils 2.5.4 –
keycloak keycloak-nodejs-auth-utils 2.5.5 –
keycloak keycloak-nodejs-auth-utils 2.5.6 –
keycloak keycloak-nodejs-auth-utils 2.5.7 –
keycloak keycloak-nodejs-auth-utils 3.0.0 –
keycloak keycloak-nodejs-auth-utils 3.0.0 cr1 –

Tipo di vulnerabilità

CWE-253 Incorrect Check of Function Return Value

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Integrità Stato imprevisto, Interruzione del servizio: arresto o riavvio

Come si previene

Architettura e progettazione · Scelta del linguaggio Use a language or compiler that uses exceptions and requires the catching of those exceptions.
Sviluppo Properly check all functions which return a value.
Sviluppo When designing any function make sure you return a value or throw an exception in case of an error.

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

Tutte le 17 CVE di tipo CWE-253, con andamento e prevenzione

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