Arbitrary Code Injection Affecting go1.17-doc package, versions <1.17.11-150000.1.37.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES153-GO117DOC-2863555
  • published9 Jun 2022
  • disclosed7 Jun 2022

Introduced: 7 Jun 2022

CVE-2022-30580  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 go1.17-doc to version 1.17.11-150000.1.37.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go1.17-doc package and not the go1.17-doc package as distributed by SLES. See How to fix? for SLES:15.3 relevant fixed versions and status.

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 Scores

version 3.1