CVE-2022-30580

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductGo
PublishedAug 10, 2022
First seenAug 10, 2022

How to fix

Update
  • golang go1.17.11, 1.18.3 or later
  • stdlib1.17.11, 1.18.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.17.11, 1.18.0 ≤ v < 1.18.31.17.11, 1.18.3
stdlibGov < 1.17.11, 1.18.0-0 ≤ v < 1.18.31.17.11, 1.18.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-30580 · Go · Dark Radar