Unexpected paths returned from LookPath in os/exec
Go standard library os/exec
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original description
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.
From the CVE record · Go