CVE-2026-42503 Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
golang.org/x/tools
golang.org/x/tools/gopls
영향 받는 버전
- 0.0.0 이상 0.22.0 미만
해결 버전
- 0.22.0 이상