8.8Hoch

CVE-2026-42503Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls

golang.org/x/tools golang.org/x/tools/gopls Veröffentlicht: (vor 6 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-1327

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
golang gopls < 0.22.0
golang.org/x/tools golang.org/x/tools/gopls 0.0.0 – < 0.22.0

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:golang:gopls:*:*:*:*:*:go:*:* < 0.22.0