GHSA-prqf-xr2j-xf65 Potential privilege escalation on Kubernetes >= v1.19 when the Argo Sever is run with `--auth-mode=client`

Not scored Published

Attackers can escalate privileges to the server account when Argo Server uses client auth mode on non-Kubernetes deployments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-prqf-xr2j-xf65?

GHSA-prqf-xr2j-xf65 is a vulnerability in github.com/argoproj/argo-workflows, published on 23 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Impact

This is pro-active fix. No know exploits exist.

Impacted:

  • You're running Kubernetes >= v1.19
  • You're running Argo Server
  • It is configured to with --auth-mode=client
  • Is not configured with --auth-mode=server
  • You are not running Argo Server in Kubernetes pod. E.g. on bare metal or other VM.
  • You're using client key to authenticate on the server.
  • The server has more permissions that the connecting client's account.

The client's authentication will be ignored and the server's authentication will be used. This will result in privilege escalation to that of the the server's account.

Patches

https://github.com/argoproj/argo-workflows/pull/6506

Workarounds

None.

Which versions are affected by GHSA-prqf-xr2j-xf65?

7 open source packages ship an affected version, including github.com/argoproj/argo-workflows/v3, github.com/argoproj/argo-workflows and github.com/argoproj/argo-workflows/v2.

PackageAffectedFixed in
github.com/argoproj/argo-workflows/v3 GoFrom 3.0.03.0.9, 3.1.6
github.com/argoproj/argo-workflows/v3 GoFrom 3.0.03.0.9
github.com/argoproj/argo-workflows/v3 GoFrom 3.0.03.0.9
github.com/argoproj/argo-workflows/v3 GoFrom 3.1.03.1.6
github.com/argoproj/argo-workflows/v3 GoFrom 3.1.03.1.6
github.com/argoproj/argo-workflows GoAll versionsNone
1 more packages
github.com/argoproj/argo-workflows/v2 GoAll versionsNone

How do I fix GHSA-prqf-xr2j-xf65?

Upgrade github.com/argoproj/argo-workflows/v3 to a fixed version for your release line: 3.0.9 or 3.1.6.

Is GHSA-prqf-xr2j-xf65 being exploited?

There is no known exploitation of GHSA-prqf-xr2j-xf65 in the wild and no public exploit code.

Sources

Also known as GO-2022-0405.

Is GHSA-prqf-xr2j-xf65 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free