CVE-2022-30580
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-30580 is a code injection vulnerability discovered in the os/exec package of Go programming language, affecting versions before Go 1.17.11 and Go 1.18.3. The vulnerability allows for the execution of arbitrary binaries named either '..com' or '..exe' in the working directory when Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput methods are called with an unset Cmd.Path (Go Issue, NVD).

Technical details

The vulnerability is classified as a code injection flaw (CWE-94) with a CVSS v3.1 base score of 7.8 (HIGH). The vulnerability specifically affects Windows systems and occurs when the Cmd.Path parameter is unset while executing various Cmd methods. The security issue allows for potential execution of binaries with specific naming patterns ('..com' or '..exe') located in the working directory (NVD, Go Advisory).

Impact

When exploited, this vulnerability could lead to unauthorized code execution on affected Windows systems. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability when successfully exploited (NVD).

Mitigation and workarounds

The vulnerability has been patched in Go versions 1.17.11 and 1.18.3. Users are advised to upgrade to these or later versions to mitigate the risk. The fix ensures that the system returns a clear error message when Cmd.Path is unset (Go Announce).

Community reactions

The vulnerability was reported by multiple security researchers including Chris Darroch, brian m. carlson, and Mikhail Shcherbakov. The Go team promptly addressed the issue by releasing security patches and making a public announcement through their mailing list (Go Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management