1. Archivio CVE
  2. 2026
  3. CVE-2026-42503

CVE-2026-42503

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

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
golang gopls < 0.22.0 go

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

AmbitoImpatto
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.

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

Tutte le 32 CVE di tipo CWE-1327, con andamento e prevenzione

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