Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2022-30580 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026Exploitation: NoneAutomatable: NoTechnical Impact: Total
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/403759 | CVE | Vendor Advisory |
| https://go.dev/issue/52574 | CVE | Issue TrackingThird Party Advisory |
| https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e | CVE | Mailing ListPatchVendor Advisory |
| https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ | CVE | Mailing ListThird Party Advisory |
| https://pkg.go.dev/vuln/GO-2022-0532 | CVE | Vendor Advisory |
| https://go.dev/cl/403759 | [email protected] | Vendor Advisory |
| https://go.dev/issue/52574 | [email protected] | Issue TrackingThird Party Advisory |
| https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e | [email protected] | Mailing ListPatchVendor Advisory |
| https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ | [email protected] | Mailing ListThird Party Advisory |
| https://pkg.go.dev/vuln/GO-2022-0532 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.17.11 >= 1.18.0, < 1.18.3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Mar 6, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Aug 12, 2022 | Initial Analysis | [email protected] |