CVE-2022-30580
Public on 2022-08-10
Modified on 2024-06-21
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 1 | golang | 2023-04-20 | ALAS-2023-1731 | Fixed |
| Amazon Linux 2 - Core | golang | 2023-04-20 | ALAS2-2023-2015 | Fixed |
| Amazon Linux 2 - Golang1.19 Extra | golang | 2023-09-25 | ALAS2GOLANG1.19-2023-002 | Fixed |
| Amazon Linux 2023 | golang | 2023-05-03 | ALAS2023-2023-175 | Fixed |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |