Catégories
CVE-2022-24348

Divulgation d'information dans github.com/argoproj/argo-cd/v2 (CVE-2022-24348)

Résumé

Vulnérabilité dans github.com/argoproj/argo-cd/v2 (CVE-2022-24348). Des informations confidentielles peuvent être exposées. Atténuation : mise à jour vers 2.2.4 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Impact

All versions of Argo CD are vulnerable to a path traversal bug that allows to pass arbitrary values files to be consumed by Helm charts.

Additionally, it is possible to craft special Helm chart packages containing value files that are actually symbolic links, pointing to arbitrary files outside the repository's root directory.

If an attacker with permissions to create or update Applications knows or can guess the full path to a file containing valid YAML, they can create a malicious Helm chart to consume that YAML as values files, thereby gaining access to data they would otherwise have no access to.

The impact can especially become critical in environments that make use of encrypted value files (e.g. using plugins with git-crypt or SOPS) containing sensitive or confidential data, and decrypt these secrets to disk before rendering the Helm chart.

Also, because any error message from helm template is passed back to the user, and these error messages are quite verbose, enumeration of files on the repository server's file system is possible.

Patches

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

  • v2.3.0
  • v2.2.4
  • v2.1.9

We urge users of Argo CD to update their installation to one of the fixed versions as listed above.

Workarounds

No workaround for this issue.

References

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

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-24348 a été découverte dans github.com/argoproj/argo-cd/v2.
Des informations confidentielles peuvent être exposées.
Action : mettez à jour github.com/argoproj/argo-cd/v2 vers 2.2.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/argoproj/argo-cd/v2 CVE-2022-24348 » sur le site de l'éditeur.

CVE-2022-24348 (github.com/argoproj/argo-cd/v2) — CWE-200
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Correctif : 2.2.4 — appliquer immédiatement
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.

❓ Quel est le problème

Une divulgation d'information (CWE-200) affecte github.com/argoproj/argo-cd/v2.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/argoproj/argo-cd/v2.

🔥 Gravité

Gravité : ?. Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 2.2.4.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

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

  1. 1
    Identify exposure identify
    grep -r 'github.com/argoproj/argo-cd/v2' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/argoproj/argo-cd/v2 を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade github.com/argoproj/argo-cd/v2 to 2.2.4

    ステージング環境で 2.2.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

Go github.com/argoproj/argo-cd/v2
[{"type":"SEMVER","events":[{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}]
Go github.com/argoproj/argo-cd
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus