CVE-2022-24905: Argo CD: Login screen allows message spoofing if SSO is enabled

Published May 20, 2022
·
Updated

Impact

A vulnerability was found in Argo CD that allows an attacker to spoof error messages on the login screen when SSO is enabled.

In order to exploit this vulnerability, an attacker would have to trick the victim to visit a specially crafted URL which contains the message to be displayed.

As far as the research of the Argo CD team concluded, it is not possible to specify any active content (e.g. Javascript) or other HTML fragments (e.g. clickable links) in the spoofed message.

Patched versions

A patch for this vulnerability has been released in the following Argo CD versions:

v2.3.4 v2.2.9 v2.1.15

Workarounds

No workaround available.

Mitigations

It is advised to update to an Argo CD version containing a fix for this issue (see Patched versions above).

Credits

This vulnerability was discovered by Naufal Septiadi (<naufal@horangi.com>) and reported to us in a responsible way.

For more information

<!-- Use only one of the paragraphs below. Remove all others. -->

<!-- For Argo CD -->

Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd

Other sources

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. A vulnerability was found in Argo CD prior to versions 2.3.4, 2.2.9, and 2.1.15 that allows an attacker to spoof error messages on the login screen when single sign on (SSO) is enabled. In order to exploit this vulnerability, an attacker would have to trick the victim to visit a specially crafted URL which contains the message to be displayed. As far as the research of the Argo CD team concluded, it is not possible to specify any active content (e.g. Javascript) or other HTML fragments (e.g. clickable links) in the spoofed message. A patch for this vulnerability has been released in Argo CD versions 2.3.4, 2.2.9, and 2.1.15. There are currently no known workarounds.

— NVD

Affected Software

10 affected componentsFixes available
argoproj Argo CD>=0.6.1<2.1.15
argoproj Argo CD>=2.2.0<2.2.9
argoproj Argo CD>=2.3.0<2.3.4
linuxfoundation Argo-cd>=0.6.1<2.1.15
linuxfoundation Argo-cd>=2.2.0<2.2.9
linuxfoundation Argo-cd>=2.3.0<2.3.4
go/github.com/argoproj/argo-cd/v2>=2.3.0<2.3.4
2.3.4
go/github.com/argoproj/argo-cd/v2>=2.2.0<2.2.9
2.2.9
go/github.com/argoproj/argo-cd/v2>=2.0.0<2.1.15
2.1.15
go/github.com/argoproj/argo-cd<2.1.15
2.1.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v2 to a version that resolves this vulnerability.

    Fixed in 2.3.4
  2. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v2 to a version that resolves this vulnerability.

    Fixed in 2.2.9
  3. Upgrade

    Upgrade go/github.com/argoproj/argo-cd/v2 to a version that resolves this vulnerability.

    Fixed in 2.1.15
  4. Upgrade

    Upgrade go/github.com/argoproj/argo-cd to a version that resolves this vulnerability.

    Fixed in 2.1.15
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.3.4
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2.9
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.15

Event History

May 20, 2022
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
DescriptionSeverityWeakness
Data Sourced
02:15 PM
DescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
via OSV·12:26 PM
Data Sourced
via OSV·12:26 PM
DescriptionSeverityWeaknessAffected Software
Nov 23, 2026
Exploit Published
via GitHub·06:59 AM

Frequently Asked Questions

1

What is the vulnerability CVE-2022-24905?

The vulnerability CVE-2022-24905 is a vulnerability found in Argo CD prior to versions 2.3.4, 2.2.9, and 2.1.15 that allows an attacker to spoof error messages on the login screen when single sign on (SSO) is enabled.

2

How can an attacker exploit CVE-2022-24905?

To exploit CVE-2022-24905, an attacker needs to enable single sign-on (SSO) and spoof error messages on the login screen of Argo CD.

3

What is the severity of CVE-2022-24905?

The severity of CVE-2022-24905 is medium with a CVSS score of 4.3.

4

Which versions of Argo CD are affected by CVE-2022-24905?

Argo CD versions prior to 2.3.4, 2.2.9, and 2.1.15 are affected by CVE-2022-24905.

5

How can I fix CVE-2022-24905?

To fix CVE-2022-24905, update Argo CD to version 2.3.4, 2.2.9, or 2.1.15.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203