Descrizione
fastify-cli starts the Node.js Inspector when a debug flag is used, but it ignores the explicit bind address the user supplies and binds the Inspector to a broadly reachable address instead of the intended loopback. As a result the debugging interface can be exposed beyond the local machine, and because the Inspector protocol allows arbitrary code evaluation, a remote party that reaches it can achieve remote code execution on the developer's machine. This affects fastify-cli from 1.5.0 up to 8.0.1. Users should upgrade to fastify-cli 8.0.1, which honors the configured Inspector bind address.
Tipo di vulnerabilità
CWE-1327
Binding to an Unrestricted IP Address
The product assigns the address 0.0.0.0 for a database server, a cloud service/instance, or any computing resource that communicates remotely.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
| Disponibilità |
Interruzione del servizio: amplificazione |
Come si previene
Configurazione del sistema
Assign IP addresses that are not 0.0.0.0.
Configurazione del sistema · Firewall
Unwanted connections to the configured server may be denied through a firewall or other packet filtering measures.
Tutte le 32 CVE di tipo CWE-1327, con andamento e prevenzione