Catégories
CVE-2026-57231 high CVSS 7.5

Divulgation d'information dans github.com/containers/podman/v5 (CVE-2026-57231)

Résumé

Vulnérabilité dans github.com/containers/podman/v5 (CVE-2026-57231). Des informations confidentielles peuvent être exposées. Atténuation : mise à jour vers 5.8.4 ou plus.

Description d'origine

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

Summary

An container image that contains a environment variable with just a key and no value can trick podman into passing that variable from the host into the container. This is made worse by the fact that using an asterisk (*) will cause podman to pass all host variables into the container. So essentially a malicious image can exfiltrate all podman environment variables that are set in the session from where the container is launched.

Details

podman run allows --env VAR1 or --env VAR* which will read the variable values from the current environment and then passes them into the container. However because the same parsing logic was reused for the image config env section that means that an image variable could also gain access to that.

Patch

That image spec requires the env variables to be in the form of key=value, so to address this invalid formatted variables get rejected and the container will not run.

Fixed in https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050

Workaround

Do not run untrusted images. Before running an image consider inspecting the config with podman image inspect --format '{{.Config.Env}}' and check for any variables that do not have a value assigned.

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-2026-57231 a été découverte dans github.com/containers/podman/v5.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.5/10.
Action : mettez à jour github.com/containers/podman/v5 vers 5.8.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/containers/podman/v5 CVE-2026-57231 » sur le site de l'éditeur.

CVE-2026-57231 (github.com/containers/podman/v5) — CWE-200 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 5.8.4 — appliquer immédiatement
Contournement : Do not run untrusted images.
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/containers/podman/v5.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/containers/podman/v5.

🔥 Gravité

Gravité : Élevée (CVSS 7.5/10). Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 5.8.4.

🛡️ Contournement

Contournement : Do not run untrusted images.

🔍 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/containers/podman/v5' . | grep -v node_modules

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

  2. 2
    Apply temporary workaround mitigate
    Do not run untrusted images.

    パッチが適用されるまでの応急処置として、Do not run untrusted images. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade github.com/containers/podman/v5 to 5.8.4

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

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

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

Paquets affectés

go github.com/containers/podman/v5
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4"}]}]
go go.podman.io/podman/v6
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0"}]}]
go github.com/containers/podman/v4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
go github.com/containers/podman/v3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
go github.com/containers/podman/v2
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
go github.com/containers/podman
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]

État des correctifs par distribution

Paquets corrigés publiés par chaque distribution pour cette CVE

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