Descrizione
gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging.
If -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0.
As a result, users might inadvertently cause gopls to bind 0.0.0.0.
This can allow a malicious party on the same network to execute code arbitrarily via gopls.
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