Skip to content

DoS via Kubernetes annotations in specific Cilium configurations

Low
ferozsalam published GHSA-24m5-r6hv-ccgp Sep 26, 2023

Package

Cilium

Affected versions

<=1.14.1
<=1.12.13
<=1.13.6

Patched versions

1.14.2
1.12.14
1.13.7

Description

Impact

In Cilium clusters where Cilium's Layer 7 proxy has been disabled, creating workloads with

  • policy.cilium.io/proxy-visibility annotations (in Cilium >= v1.13)
  • io.cilium.proxy-visibility annotations (in Cilium <= v1.12)

causes the Cilium agent to segfault on the node to which the workload is assigned.

Existing traffic on the affected node will continue to flow, but the Cilium agent on the node will not able to process changes to workloads running on the node. This will also prevent workloads from being able to start on the affected node. The denial of service will be limited to the node on which the workload is scheduled, however an attacker may be able to schedule workloads on the node of their choosing, which could lead to targeted attacks.

Patches

Pull request with fix

This issue affects:

Cilium <= v1.14.1
Cilium <= v1.13.6
Cilium <= v1.12.13

This issue has been resolved in:

Cilium v1.14.2
Cilium v1.13.7
Cilium v1.12.14

Workarounds

Users can avoid this denial of service attack by enabling the Layer 7 proxy.

Acknowledgements

The Cilium community has worked together with members of Acorn Labs and Isovalent to prepare these mitigations. Special thanks to @g-linville for bringing this issue to the attention of the Cilium Security team and to @sayboras for the fix.

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: security@cilium.io - 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

Low
3.5
/ 10

CVSS base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CVE ID

CVE-2023-41332

Weaknesses

No CWEs

Credits