← Back to CVEs
CVE-2022-30580
HIGH7.8
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.
CVE Details
CVSS v3.1 Score7.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published8/10/2022
Last Modified3/6/2026
Sourcenvd
Honeypot Sightings0
Affected Products
golang:go
Weaknesses (CWE)
CWE-94CWE-94
References
https://go.dev/cl/403759(security@golang.org)
https://go.dev/issue/52574(security@golang.org)
https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e(security@golang.org)
https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ(security@golang.org)
https://pkg.go.dev/vuln/GO-2022-0532(security@golang.org)
https://go.dev/cl/403759(af854a3a-2127-422b-91ae-364da2661108)
https://go.dev/issue/52574(af854a3a-2127-422b-91ae-364da2661108)
https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e(af854a3a-2127-422b-91ae-364da2661108)
https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ(af854a3a-2127-422b-91ae-364da2661108)
https://pkg.go.dev/vuln/GO-2022-0532(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.