Arbitrary Code Injection Affecting go1.18-doc package, versions <1.18.3-150000.1.20.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating

    Threat Intelligence

    EPSS
    0.05% (15th 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 ID SNYK-SLES154-GO118DOC-2863533
  • published 9 Jun 2022
  • disclosed 7 Jun 2022

How to fix?

Upgrade SLES:15.4 go1.18-doc to version 1.18.3-150000.1.20.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go1.18-doc package and not the go1.18-doc package as distributed by SLES. See How to fix? for SLES:15.4 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
Expand this section

NVD

7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

SUSE

7 high
Expand this section

Red Hat

7.8 high