Vulnérabilité dans github.com/weaveworks/weave (CVE-2020-11091)
Résumé
Vulnérabilité dans github.com/weaveworks/weave (CVE-2020-11091). Les données peuvent être altérées par des attaquants. Atténuation : mise à jour vers 2.6.3 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
An attacker able to run a process as root in a container is able to respond to DNS requests from the host and thereby insert themselves as a fake service.
In a cluster with an IPv4 internal network, if IPv6 is not totally disabled on the host (via ipv6.disable=1 on the kernel cmdline), it will be either unconfigured or configured on some interfaces, but it’s pretty likely that ipv6 forwarding is disabled, ie /proc/sys/net/ipv6/conf//forwarding == 0. Also by default, /proc/sys/net/ipv6/conf//accept_ra == 1. The combination of these 2 sysctls means that the host accepts router advertisements and configure the IPv6 stack using them.
By sending “rogue” router advertisements, an attacker can reconfigure the host to redirect part or all of the IPv6 traffic of the host to the attacker controlled container.
Even if there was no IPv6 traffic before, if the DNS returns A (IPv4) and AAAA (IPv6) records, many HTTP libraries will try to connect via IPv6 first then fallback to IPv4, giving an opportunity to the attacker to respond.
If by chance you also have on the host a vulnerability like last year’s RCE in apt (CVE-2019-3462), you can now escalate to the host.
Patches
Weave Net version 2.6.3 (to be released soon) will disable the accept_ra option on the veth devices that it creates.
Workarounds
Users should not run containers with CAP_NET_RAW capability. This has been the advice from Weave Net for years.
https://www.weave.works/docs/net/latest/kubernetes/kube-add…
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-2020-11091 a été découverte dans github.com/weaveworks/weave.
Les données peuvent être altérées par des attaquants.
Action : mettez à jour github.com/weaveworks/weave vers 2.6.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/weaveworks/weave CVE-2020-11091 » sur le site de l'éditeur.
CVE-2020-11091 (github.com/weaveworks/weave) — CWE-350
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Correctif : 2.6.3 — 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-350) affecte github.com/weaveworks/weave.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/weaveworks/weave.
Gravité : ?. Les données peuvent être altérées par des attaquants.
Mettre à jour vers 2.6.3.
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/weaveworks/weave' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/weaveworks/weaveを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/weaveworks/weave to 2.6.3ステージング環境で 2.6.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- web github.com
- web github.com