First published: Tue Aug 09 2022(Updated: )
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.
Credit: security@golang.org
Affected Software | Affected Version | How to fix |
---|---|---|
Golang Go | <1.17.11 | |
Golang Go | >=1.18.0<1.18.3 | |
IBM Concert Software | <=1.0.0 - 1.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2022-30580.
The severity of CVE-2022-30580 is high with a CVSS score of 7.8.
Versions of Go before 1.17.11 and versions between 1.18.0 and 1.18.3 are affected by CVE-2022-30580.
An attacker can exploit this vulnerability by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset, allowing execution of any binaries in the working directory named "..com" or "..exe".
Yes, upgrading to Go 1.17.11 or Go 1.18.3 or later versions is recommended to fix CVE-2022-30580.