CVE-2022-24905: Github.com/argoproj/argo cd/v2 Login Screen Allows Message Spoofing Vulnerability
MODERATECVE-2022-24905 is a MODERATE (CVSS 4.3) login screen allows message spoofing vulnerability (CWE-20: Improper Input Validation) affecting Github.com/argoproj/argo cd/v2 libraries in the Go ecosystem. The issue involves login screen allows message spoofing if sso is enabled. Remediation is available by upgrading affected packages to version 2.3.4, 2.2.9, 2.1.15.
CVE-2022-24905 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-24905
To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo cd/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/argoproj/argo-cd/v2 to 2.3.4
Upgrade github.com/argoproj/argo-cd/v2 to 2.2.9
Upgrade github.com/argoproj/argo-cd/v2 to 2.1.15
Upgrade github.com/argoproj/argo-cd to 2.1.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/argoproj/argo-cd/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-24905, inspect your project dependencies for Github.com/argoproj/argo cd/v2:
inspect dependencies for github.com/argoproj/argo-cd/v2
Analyze the terminal output to locate any version of Github.com/argoproj/argo cd/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/argoproj/argo cd/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-24905 Affected Github.com/argoproj/argo cd/v2 Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.3.0
< 2.3.4
|
2.3.4
|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.2.0
< 2.2.9
|
2.2.9
|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.0.0
< 2.1.15
|
2.1.15
|
|
github.com/argoproj/argo-cd
|
Go |
< 2.1.15
|
2.1.15
|
References
Frequently Asked Questions
What is CVE-2022-24905?
Which Github.com/argoproj/argo cd/v2 versions are affected?
What version fixes CVE-2022-24905?
Is github.com/argoproj/argo-cd/v2 affected?
Is github.com/argoproj/argo-cd affected?
What is the CVSS score of CVE-2022-24905?
What CWE is associated with CVE-2022-24905?
How can I check Go dependencies for CVE-2022-24905?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xmg8-99r8-jc2j",
"modified" : "2022-05-24T12:26:59Z",
"published" : "2022-05-24T12:26:59Z",
"aliases" : [ "CVE-2022-24905" ],
"summary" : "Login screen allows message spoofing if SSO is enabled",
"details" : "### Impact\n\nA vulnerability was found in Argo CD that allows an attacker to spoof error messages on the login screen when SSO is enabled.\n\nIn 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.\n\nAs 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.\n\n### Patched versions\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v2.3.4\n* v2.2.9\n* v2.1.15\n\n### Workarounds\n\nNo workaround available.\n\n#### Mitigations\n\nIt is advised to update to an Argo CD version containing a fix for this issue (see *Patched versions* above).\n\n### Credits\n\nThis vulnerability was discovered by Naufal Septiadi (<naufal@horangi.com>) and reported to us in a responsible way. \n\n### For more information\n\n<!-- Use only one of the paragraphs below. Remove all others. -->\n\n<!-- For Argo CD -->\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.1.15"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.15"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.8.7"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-xmg8-99r8-jc2j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24905"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.1.15"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.2.9"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.3.4"
}, {
"type" : "PACKAGE",
"url" : "github.com/argoproj/argo-cd"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-24T12:26:59Z",
"nvd_published_at" : "2022-05-20T14:15:00Z"
}
}