CVE-2022-30580

Published on: Not Yet Published

Last Modified on: 08/12/2022 08:46:00 PM UTC

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

Certain versions of Go from Golang contain the following vulnerability:

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.

  • CVE-2022-30580 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo Go - os/exec version < 1.17.11
  • Affected Vendor/Software: URL Logo Go - os/exec version >= 1.18.0
  • Affected Vendor/Software: URL Logo Go - os/exec version < 1.18.3

CVSS3 Score: 7.8 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
LOCAL LOW LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
960ffa98ce73ef2c2060c84c7ac28d37a83f345e - go - Git at Google go.googlesource.com
text/html
URL Logo MISC go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e
No Description Provided go.dev
text/html
URL Logo MISC go.dev/cl/403759
[security] Go 1.18.3 and Go 1.17.11 are released groups.google.com
text/html
URL Logo MISC groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
GO-2022-0532 - Go Packages pkg.go.dev
text/html
URL Logo MISC pkg.go.dev/vuln/GO-2022-0532
os/exec: Cmd.{Run,Start} should fail if Cmd.Path is unset · Issue #52574 · golang/go · GitHub go.dev
text/html
URL Logo MISC go.dev/issue/52574

Related QID Numbers

  • 159981 Oracle Enterprise Linux Security Update for go-toolset:ol8addon (ELSA-2022-17956)
  • 159984 Oracle Enterprise Linux Security Update for ol8addon (ELSA-2022-17957)
  • 502459 Alpine Linux Security Update for go
  • 690876 Free Berkeley Software Distribution (FreeBSD) Security Update for go (15888c7e-e659-11ec-b7fe-10c37b4ac2ea)
  • 902714 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10514)
  • 902729 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10532)
  • 903954 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10532-1)
  • 903976 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10514-1)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationGolangGoAllAllAllAll
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*:

Discovery Credit

Chris Darroch ([email protected]), Brian M. Carlson ([email protected]), and Mikhail Shcherbakov (https://twitter.com/yu5k3)

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-30580 : Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any bin… twitter.com/i/web/status/1… 2022-08-10 20:35:18
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report