GHSA-6w87-g839-9wv7 Helm OCI credentials leaked into Argo CD logs

Not scored Published

Attackers with log access can steal Helm OCI repository credentials leaked by Argo CD, requiring an upgrade and credential rotation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is GHSA-6w87-g839-9wv7?

GHSA-6w87-g839-9wv7 is a vulnerability in github.com/argoproj/argo-cd, published on 21 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Impact

When Argo CD was connected to a Helm OCI repository with authentication enabled, the credentials used for accessing the remote repository were logged.

Anyone with access to the pod logs - either via access with appropriate permissions to the Kubernetes control plane or a third party log management system where the logs from Argo CD were aggregated - could have potentially obtained the credentials to the Helm OCI repository.

If you are using Helm OCI repositories with Argo CD, it is strongly recommended to upgrade Argo CD to the latest patch version and to change the credentials used to access the repositories.

Patches

A patch for this vulnerability is available with the v1.8.7 and v1.7.14 releases of Argo CD.

Workarounds

No workaround available

References

N/A

For more information

If you have any questions or comments about this advisory:

Credits

This vulnerability was found and reported by a third-party who wishes to stay anonymous. We want to thank this third-party for disclosing this vulnerability to us in a responsible manner.

Which versions are affected by GHSA-6w87-g839-9wv7?

5 open source packages ship an affected version, including github.com/argoproj/argo-cd.

PackageAffectedFixed in
github.com/argoproj/argo-cd GoAll versions1.7.14, 1.8.7
github.com/argoproj/argo-cd GoAll versions1.7.14
github.com/argoproj/argo-cd GoAll versions1.7.14
github.com/argoproj/argo-cd GoFrom 1.8.01.8.7
github.com/argoproj/argo-cd GoFrom 1.8.01.8.7

How do I fix GHSA-6w87-g839-9wv7?

Upgrade github.com/argoproj/argo-cd to a fixed version for your release line: 1.7.14 or 1.8.7.

Is GHSA-6w87-g839-9wv7 being exploited?

There is no known exploitation of GHSA-6w87-g839-9wv7 in the wild and no public exploit code.

Sources

Also known as GO-2022-0387.

Is GHSA-6w87-g839-9wv7 in your software?

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

Check your SBOMs for free