CVE-2022-30580

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
10/08/2022
Last modified:
07/11/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.17.11 (excluding)
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.18.0 (including) 1.18.3 (excluding)