6.5Media

CVE-2025-47906Unexpected paths returned from LookPath in os/exec

Go standard library os/exec Publicada: (hace 1 año)

Descripción

If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.

Debilidad (CWE): CWE-115

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library os/exec < 1.23.12, 1.24.0 – < 1.24.6
golang go < 1.23.12

Referencias y parches

Coincidencias CPE (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.23.12
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.24.0 < 1.24.6