GHSA-rc7p-gmvh-xfx2: Github.com/argoproj/argo workflows Attack On Kubernetes Vulnerability

MODERATE
Published
Advisory Summary

GHSA-rc7p-gmvh-xfx2 is a MODERATE attack on kubernetes vulnerability (General Security Weakness) affecting Github.com/argoproj/argo workflows libraries in the Go ecosystem. The issue involves attack on kubernetes via misconfigured argo workflows. Remediation is available in the latest vendor maintenance releases.

GHSA-rc7p-gmvh-xfx2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rc7p-gmvh-xfx2
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/argoproj/argo workflows
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-rc7p-gmvh-xfx2

To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo workflows dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/argoproj/argo-workflows fixed: Latest secure release
Upgrade github.com/argoproj/argo-workflows to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/argoproj/argo-workflows

How to Check if You Are Affected

To determine whether your application is affected by GHSA-rc7p-gmvh-xfx2, inspect your project dependencies for Github.com/argoproj/argo workflows:

inspect dependencies for github.com/argoproj/argo-workflows

Analyze the terminal output to locate any version of Github.com/argoproj/argo workflows in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Github.com/argoproj/argo workflows, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Users running using the Argo Server with `--auth-mode=server` (which is the default < v3.0.0) AND have exposed their UI to the Internet may allow remote users to execute arbitrary code on their cluster, e.g. crypto-mining. ### Resolution * Do not expose your user interface to the Internet. * Change configuration. `--auth-mode=client`. For users using an older 2.x version of Argo Server, consider upgrading to Argo Server version 3.x or later.

GHSA-rc7p-gmvh-xfx2 Affected Github.com/argoproj/argo workflows Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/argoproj/argo-workflows
Go

References

Frequently Asked Questions

What is GHSA-rc7p-gmvh-xfx2?
GHSA-rc7p-gmvh-xfx2 is a security vulnerability in Github.com/argoproj/argo workflows involving Attack on Kubernetes via Misconfigured Argo Workflows under General Security Weakness.
Which Github.com/argoproj/argo workflows versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/argoproj/argo-workflows.
What version fixes GHSA-rc7p-gmvh-xfx2?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/argoproj/argo-workflows affected?
Yes, github.com/argoproj/argo-workflows is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-rc7p-gmvh-xfx2?
GHSA-rc7p-gmvh-xfx2 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-rc7p-gmvh-xfx2?
Run the dependency tree command: 'inspect dependencies for github.com/argoproj/argo-workflows'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rc7p-gmvh-xfx2",
  "modified" : "2021-08-02T17:18:32Z",
  "published" : "2021-08-02T17:19:52Z",
  "aliases" : [ ],
  "summary" : "Attack on Kubernetes via Misconfigured Argo Workflows",
  "details" : "### Impact\n\nUsers running using the Argo Server with `--auth-mode=server` (which is the default < v3.0.0) AND have exposed their UI to the Internet may allow remote users to execute arbitrary code on their cluster, e.g. crypto-mining.\n\n### Resolution\n\n* Do not expose your user interface to the Internet. \n* Change configuration. `--auth-mode=client`. \n\nFor users using an older 2.x version of Argo Server, consider upgrading to Argo Server version 3.x or later.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-workflows"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 3.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-workflows/security/advisories/GHSA-rc7p-gmvh-xfx2"
  }, {
    "type" : "WEB",
    "url" : "https://www.intezer.com/blog/container-security/new-attacks-on-kubernetes-via-misconfigured-argo-workflows"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-07-22T20:25:42Z",
    "nvd_published_at" : null
  }
}