CVE-2022-24905: Argo CD: Login screen allows message spoofing if SSO is enabled
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/argoproj/argo-cd/v2to a version that resolves this vulnerability.Fixed in 2.3.4 - Upgrade
Upgrade
go/github.com/argoproj/argo-cd/v2to a version that resolves this vulnerability.Fixed in 2.2.9 - Upgrade
Upgrade
go/github.com/argoproj/argo-cd/v2to a version that resolves this vulnerability.Fixed in 2.1.15 - Upgrade
Upgrade
go/github.com/argoproj/argo-cdto a version that resolves this vulnerability.Fixed in 2.1.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.3.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.2.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.1.15
Event History
Frequently Asked Questions
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.
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.
What is the severity of CVE-2022-24905?
The severity of CVE-2022-24905 is medium with a CVSS score of 4.3.
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.
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.