Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-vchx-5pr6-ffx2

Опубликовано: 27 мар. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Flannel has cross-node remote code execution via extension backend BackendData injection

Background

The Flannel project includes an experimental Extension backend that allows users to easily prototype new backend types. This backend uses shell commands stored in Kubernetes annotations to configure network connectivity on the node.

Note: consumers are only affected by this vulnerability if they use the experimental Extension backend. Other backends such as vxlan and wireguard are unaffected.

Vulnerability

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.

Impact

Kubernetes clusters using Flannel with the Extension backend are affected by this vulnerability. Other backends such as vxlan and wireguard are unaffected.

Patches

This is fixed in version v0.28.2.

Workaround

If consumers cannot update to a patched version, then use Flannel with another backend such as vxlan or wireguard.

Credits

Flannel would like to thank Shachar Tal from Palo Alto Networks for reporting this vulnerability.

Пакеты

Наименование

github.com/flannel-io/flannel

go
Затронутые версииВерсия исправления

<= 0.28.1

0.28.2

EPSS

Процентиль: 84%
0.02709
Низкий

7.5 High

CVSS3

Дефекты

CWE-77
CWE-78

Связанные уязвимости

CVSS3: 7.5
nvd
4 месяца назад

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.

CVSS3: 7.5
msrc
4 месяца назад

Flannel vulnerable to cross-node remote code execution via extension backend BackendData injection

CVSS3: 8.8
fstec
5 месяцев назад

Уязвимость сетевой инфраструктуры для контейнеров Flannel, связанная с непринятием мер по чистке данных на управляющем уровне, позволяющая нарушителю выполнить произвольные команды

CVSS3: 8.8
redos
3 месяца назад

Уязвимость flannel

EPSS

Процентиль: 84%
0.02709
Низкий

7.5 High

CVSS3

Дефекты

CWE-77
CWE-78