7.8Alta

CVE-2022-30580Empty Cmd.Path can trigger unintended binary in os/exec on Windows

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

Descripción

Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.

Debilidad (CWE): CWE-94

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.17.11, 1.18.0-0 – < 1.18.3

Referencias y parches