Name | CVE-2022-30580 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.11 (PTS) | buster (security), buster, buster (lts) | 1.11.6-1+deb10u7 | fixed |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | fixed |
golang-1.8 (PTS) | stretch (security), stretch (lts), stretch | 1.8.1-1+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
golang | source | (unstable) | (not affected) | | | |
golang-1.11 | source | (unstable) | (not affected) | | | |
golang-1.15 | source | (unstable) | (not affected) | | | |
golang-1.17 | unknown | (unstable) | (not affected) | | | |
golang-1.18 | source | (unstable) | (not affected) | | | |
golang-1.7 | source | (unstable) | (not affected) | | | |
golang-1.8 | source | (unstable) | (not affected) | | | |
Notes
- golang-1.18 <not-affected> (Only affects Go on Windows)
- golang-1.17 <not-affected> (Only affects Go on Windows)
- golang-1.15 <not-affected> (Only affects Go on Windows)
- golang-1.11 <not-affected> (Only affects Go on Windows)
- golang-1.8 <not-affected> (Only affects Go on Windows)
- golang-1.7 <not-affected> (Only affects Go on Windows)
https://go.dev/issue/52574
- golang <not-affected> (Only affects Go on Windows)