Vulnérabilité dans github.com/opencontainers/runc (CVE-2019-19921)
Résumé
Vulnérabilité dans github.com/opencontainers/runc (CVE-2019-19921). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via runc. Atténuation : mise à jour vers 1.0.0-rc10 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
By crafting a malicious root filesystem (with /proc being a symlink to a directory which was inside a volume shared with another running container), an attacker in control of both containers can trick runc into not correctly configuring the container's security labels and not correctly masking paths inside /proc which contain potentially-sensitive information about the host (or even allow for direct attacks against the host).
In order to exploit this bug, an untrusted user must be able to spawn custom containers with custom mount configurations (such that a volume is shared between two containers). It should be noted that we consider this to be a fairly high level of access for an untrusted user -- and we do not recommend allowing completely untrusted users to have such degrees of access without further restrictions.
Specific Go Package Affected
github.com/opencontainers/runc/libcontainer
Patches
This vulnerability has been fixed in 1.0.0-rc10. It should be noted that the current fix is effectively a hot-fix, and there are known ways for it to be worked around (such as making the entire root filesystem a shared volume controlled by another container). We recommend that users review their access policies to ensure that untrusted users do not have such high levels of controls over container mount configuration.
Workarounds
If you are not providing the ability for untrusted users to configure mountpoints for runc (or through a higher-level to…
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-2019-19921 a été découverte dans github.com/opencontainers/runc.
Des attaquants peuvent cibler un point d'entrée spécifique comme runc à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour github.com/opencontainers/runc vers 1.0.0-rc10 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/opencontainers/runc CVE-2019-19921 » sur le site de l'éditeur.
CVE-2019-19921 (github.com/opencontainers/runc) — CWE-362
Vecteur d'attaque : local / sans interaction utilisateur
Surface d'attaque : runc
Correctif : 1.0.0-rc10 — 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.
Une vulnérabilité (CWE-362) affecte github.com/opencontainers/runc. Les attaquants atteignent le code vulnérable via runc.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/opencontainers/runc. Surface d'attaque : runc.
Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 1.0.0-rc10.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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/opencontainers/runc' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/opencontainers/runcを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/opencontainers/runc to 1.0.0-rc10ステージング環境で 1.0.0-rc10 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2019-19921 runc Corrigé dans: 1.0.0~rc10+dfsg1-1
Références
- advisory usn.ubuntu.com
- advisory nvd.nist.gov
- web lists.debian.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.opensuse.org
- web access.redhat.com
- web access.redhat.com
- web github.com
- web security-tracker.debian.org
- web security.gentoo.org
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web pkg.go.dev
- web usn.ubuntu.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web github.com