GHSA-cmv8-6362-r5w9

Suggest an improvement
Source
https://github.com/advisories/GHSA-cmv8-6362-r5w9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cmv8-6362-r5w9/GHSA-cmv8-6362-r5w9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-cmv8-6362-r5w9
Aliases
Published
2022-05-23T20:16:05Z
Modified
2023-12-06T00:47:11.004266Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Malicious HTML+XHR Artifact Privilege Escalation in Argo Workflows
Details

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes.

  • The attacker creates a workflow that produces a HTML artifact that contains a HTML file that contains a script which uses XHR calls to interact with the Argo Server API.
  • The attacker emails the deep-link to the artifact to their victim. The victim opens the link, the script starts running.

As the script has access to the Argo Server API (as the victim), so may do the following (if the victim may):

  • Read information about the victim’s workflows.
  • Create or delete workflows.

Notes:

  • The attacker must be an insider: they must have access to the same cluster as the victim and must already be able to run their own workflows.
  • The attacker must have an understanding of the victim’s system. They won’t be able to repeatedly probe due to the social engineering aspect.
  • The attacker is likely leave an audit trail.

We have seen no evidence of this in the wild. While the impact is high, it is very hard to exploit.

We urge all users to upgrade to the fixed versions. Disabling the Argo Server is the only known workaround. Note version 2.12 has been out of support for sometime. No fix is currently planned.

Database specific
{
    "nvd_published_at": "2022-05-06T00:15:00Z",
    "github_reviewed_at": "2022-05-23T20:16:05Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-269"
    ]
}
References

Affected packages

Go / github.com/argoproj/argo-workflows/v3

Package

Name
github.com/argoproj/argo-workflows/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/argo-workflows/v3

Affected ranges

Type
SEMVER
Events
Introduced
2.6.0
Fixed
3.2.11

Go / github.com/argoproj/argo-workflows/v3

Package

Name
github.com/argoproj/argo-workflows/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/argo-workflows/v3

Affected ranges

Type
SEMVER
Events
Introduced
3.3.0
Fixed
3.3.5