Vulnérabilité dans github.com/argoproj/argo-cd (CVE-2022-41354)
Résumé
Vulnérabilité dans github.com/argoproj/argo-cd (CVE-2022-41354). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers 2.4.28 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
All versions of Argo CD starting with v0.5.0 are vulnerable to an information disclosure bug allowing unauthorized users to enumerate application names by inspecting API error messages. An attacker could use the discovered application names as the starting point of another attack. For example, the attacker might use their knowledge of an application name to convince an administrator to grant higher privileges (social engineering).
Many Argo CD API endpoints accept an application name as the only parameter. Since Argo CD RBAC requires both the application name and its configured project name (and, if apps-in-any-namespace is enabled, the application's namespace), Argo CD fetches the requested application before performing the RBAC check. If the application does not exist, the API returns a "not found". If the application does exist, and the user does not have access, the API returns an "unauthorized" error. By trial and error, an attacker can infer which applications exist and which do not.
Note that application resources are not fetched for API calls from unauthenticated users. If your Argo CD instance is accessible from the public internet, unauthenticated users will not be able to cause Argo CD to make Kubernetes API calls.
The patch changes API behavior to return "unauthorized" both when the application is missing and when the user is not authorized to access it. This change in API behavior may impact API clients. Check your code to make sure it will h…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2022-41354 a été découverte dans github.com/argoproj/argo-cd.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 4.3/10.
Action : mettez à jour github.com/argoproj/argo-cd vers 2.4.28 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/argoproj/argo-cd CVE-2022-41354 » sur le site de l'éditeur.
CVE-2022-41354 (github.com/argoproj/argo-cd) — CWE-203 / CVSS v3 4.3
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 2.4.28 — appliquer immédiatement
Contournement : There are no workarounds besides upgrading.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-203) affecte github.com/argoproj/argo-cd.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/argoproj/argo-cd.
Gravité : Moyenne (CVSS 4.3/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 2.4.28.
Contournement : There are no workarounds besides upgrading.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/argoproj/argo-cd' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/argoproj/argo-cdを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
There are no workarounds besides upgrading.パッチが適用されるまでの応急処置として、There are no workarounds besides upgrading. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade github.com/argoproj/argo-cd to 2.4.28ステージング環境で 2.4.28 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web argo.com
- web github.com
- web github.com
- web github.com
- web github.com