---
cve: "CVE-2022-30580"
severity: "HIGH"
cvss: 7.8
epss: "62%"
vendor: "Go standard library"
kev: false
exploited: false
published: "2022-08-10 20:15:40"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-03T04:56:20+02:00"
---

# CVE-2022-30580

> 7.8 HIGH

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 26cdea3acca29db94541236f0037a20aa22ce2d7 (Commit)
- 4068be56ce7721a3d75606ea986d11e9ca27077a (Commit)

## Referenzen

- <https://go.dev/cl/403759>
- <https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e>
- <https://go.dev/issue/52574>
- <https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ>
- <https://pkg.go.dev/vuln/GO-2022-0532>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-30580) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
