github.com/argoproj/argo-cd/v2
Affected
- introduced
0, fixed1.7.13(semver)
Fixed versions
1.7.13
Fix
- Fixed version
1.7.13go get github.com/argoproj/argo-cd/[email protected]
Advisory
Also known as: BIT-argo-cd-2021-23347, CVE-2021-23347, GO-2022-0869, SNYK-GOLANG-GITHUBCOMARGOPROJARGOCDCMD-1078291
Possible XSS when using SSO with the CLI in github.com/argoproj/argo-cd/v2
Impact
When using SSO with the Argo CD CLI, a malicious SSO provider could have sent specially crafted error message that would result in XSS on the client by means of executing arbitrary JavaScript code.
We believe the exploitation of this vulnerability is only be possible when Argo CD is connected to a compromised/malicious SSO provider.
Patches
A patch for this vulnerability is available with the v1.8.7 and v1.7.14 releases of Argo CD.
Workarounds
If you have any questions or comments about this advisory:
#argo-cdCredits
The issue was found during static code scanning with CodeQL and fixed by the Argo CD team. While we believed that a rogue SSO provider would pose a severe threat by itself, we fixed it like a regular bug.
The Argo CD team would like to thank Adam Gold of Snyk (https://snyk.io) for stepping up and classifying this correctly as a security issue and for his help in determining its severity. Also, Snyk kindly reserved and provided the CVE for this vulnerability.
We fully agree with Adam that this bug is a security vulnerability and justifies publishing a SA, to provide our community and users full transparancy.
Medium Basis: The source's own band: MODERATE
0, fixed 1.7.13 (semver)1.7.13
1.7.13go get github.com/argoproj/argo-cd/[email protected]1.8.0, fixed 1.8.6 (semver)1.8.6
1.8.6go get github.com/argoproj/argo-cd/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0