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

CVE-2022-23646

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

Descrizione

Next.js is a React framework. Starting with version 10.0.0 and prior to version 12.1.0, Next.js is vulnerable to User Interface (UI) Misrepresentation of Critical Information. In order to be affected, the `next.config.js` file must have an `images.domains` array assigned and the image host assigned in `images.domains` must allow user-provided SVG. If the `next.config.js` file has `images.loader` assigned to something other than default, the instance is not affected. Version 12.1.0 contains a patch for this issue. As a workaround, change `next.config.js` to use a different `loader configuration` other than the default.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
vercel next.js >= 10.0.0 < 12.1.0 node.js
Tutte le 72 vulnerabilità di Vercel Next.js

Tipo di vulnerabilità

CWE-451 Rappresentazione ingannevole di informazioni critiche nell’interfaccia

L’interfaccia utente non rappresenta correttamente informazioni critiche, che possono essere nascoste o falsificate insieme alla loro fonte. È spesso un elemento degli attacchi di phishing.

Impatto sui sistemi

AmbitoImpatto
Non ripudio, Controllo degli accessi Nascondere le proprie attività, Aggirare i meccanismi di protezione, Dipende dal contesto

Come si previene

Sviluppo · Validazione dell’input Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
Architettura e progettazione · Codifica dell’output Create a strategy for presenting information, and plan for how to display unusual characters.

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

Tutte le 489 CVE di tipo CWE-451, con andamento e prevenzione

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