7.5 HIGH
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): HIGH
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
by @LeSuisse Activity log
- Created automatic suggestion
- @LeSuisse removed package cni-plugin-flannel
- @LeSuisse removed maintainer @offlinehacker
- @LeSuisse accepted
- @LeSuisse published on GitHub
Flannel vulnerable to cross-node remote code execution via extension backend BackendData injection
Flannel is a network fabric for containers, designed for Kubernetes. The Flannel project includes an experimental Extension backend that allows users to easily prototype new backend types. In versions of Flannel prior to 0.28.2, this Extension backend is vulnerable to a command injection that allows an attacker who can set Kubernetes Node annotations to achieve root-level arbitrary command execution on every flannel node in the cluster. The Extension backend's SubnetAddCommand and SubnetRemoveCommand receive attacker-controlled data via stdin (from the `flannel.alpha.coreos.com/backend-data` Node annotation). The content of this annotation is unmarshalled and piped directly to a shell command without checks. Kubernetes clusters using Flannel with the Extension backend are affected by this vulnerability. Other backends such as vxlan and wireguard are unaffected. The vulnerability is fixed in version v0.28.2. As a workaround, use Flannel with another backend such as vxlan or wireguard.
References
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2 x_refsource_MISC
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2 x_refsource_CONFIRM
Affected products
- ==< 0.28.2
Matching in nixpkgs
Ignored packages (1)
pkgs.cni-plugin-flannel
flannel CNI plugin
-
nixos-unstable 1.9.0-flannel1
- nixpkgs-unstable 1.9.0-flannel1
- nixos-unstable-small 1.9.0-flannel1
-
nixos-25.11 1.8.0-flannel1
- nixos-25.11-small 1.8.0-flannel1
- nixpkgs-25.11-darwin 1.8.0-flannel1
Package maintainers
-
@johanot Johan Thomsen <write@ownrisk.dk>
Ignored maintainers (1)
-
@offlinehacker Jaka Hudoklin <jaka@x-truder.net>