← CVE Intelligence

CVE-2022-30580

Empty Cmd.Path can trigger unintended binary in os/exec on Windows PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Go standard library / os/execaffected 0 before 1.17.11; affected 1.18.0-0 before 1.18.3

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.