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

CVE-2022-36073

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

Descrizione

RubyGems.org is the Ruby community gem host. A bug in password & email change confirmation code allowed an attacker to change their RubyGems.org account's email to an unowned email address. Having access to an account whose email has been changed could enable an attacker to save API keys for that account, and when a legitimate user attempts to create an account with their email (and has to reset password to gain access) and is granted access to other gems, the attacker would then be able to publish and yank versions of those gems. Commit number 90c9e6aac2d91518b479c51d48275c57de492d4d contains a patch for this issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
rubygems rubygems < 2022-08-31 –
Tutte le 25 vulnerabilità di Rubygems

Tipo di vulnerabilità

CWE-287 Autenticazione impropria

Quando un soggetto dichiara una certa identità, il prodotto non verifica, o verifica in modo insufficiente, che la dichiarazione sia vera.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati
Questo errore può esporre risorse o funzioni a soggetti non previsti, fornendo all’attaccante informazioni sensibili o permettendogli perfino di eseguire codice arbitrario.

Come si previene

Architettura e progettazione · Librerie o framework Usa un framework o una libreria di autenticazione, come la funzione Authentication di OWASP ESAPI.

Tutte le 5.275 CVE di tipo CWE-287, con andamento e prevenzione

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