Advisory

GHSA-pfhr-pccp-hwmh

Also known as: GO-2022-0959

Summary

Network Policies & (Clusterwide) Cilium Network Policies with namespace label selectors may unexpectedly select pods with maliciously crafted labels

Details

Impact

If a user has Network Policies with namespace selectors selecting labels of namespaces, or (clusterwide) Cilium Network Policies matching on namespace labels, then it is possible for an attacker with Kubernetes pod deploy rights (either directly or indirectly via higher-level APIs such as Deployment, Daemonset etc) to craft additional pod labels such that the pod is selected by another policy that exists rather than the expected policy.

Patches

The problem has been fixed and is available on versions >=1.10.14, >=1.11.8, >=1.12.1

Workarounds

There are no workarounds available.

Acknowledgements

The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to Sander Mathijssen for not only highlighting the issue but also proposing a resolution.

For more information

If you have any questions or comments about this advisory, please reach out on Slack.

As usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: [[email protected]](mailto:[email protected]) - first, before disclosing them in any public forums. This is a private mailing list where only members of the Cilium internal security team are subscribed to, and is treated as top priority.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-30 20:06 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/cilium/cilium

Go · All systems

Affected

  • introduced 0, fixed 1.10.14 (semver)

Fixed versions

1.10.14

Fix

github.com/cilium/cilium

Go · All systems

Affected

  • introduced 1.11.0, fixed 1.11.8 (semver)

Fixed versions

1.11.8

Fix

github.com/cilium/cilium

Go · All systems

Affected

  • introduced 1.12.0, fixed 1.12.1 (semver)

Fixed versions

1.12.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences