GO-2022-0532

vendorUSosv

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

view advisory published 2022-07-26Licence: per source

On Windows, executing Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset will unintentionally trigger execution of any binaries in the working directory named either "..com" or "..exe".

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-30580UShigh7.8—
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,…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan