Existence of completed pods allows for bypass of Kubernetes NetworkPolicy
访问控制 / 访问控制缺陷(通用) / #3328291
该报告还没有中文解读。
原文摘录
摘自原文(4364 字符中的一小部分)
The Amazon VPC CNI controller, when configured to manage NetworkPolicy rules, will incorrectly apply firewall rules for Completed pods as if the pods are still running, causing these rules to be applied to other unrelated pods that happen to receive the same IP address as a Completed pod.
原文中的代码
---
apiVersion: v1
kind: Namespace
metadata:
name: networkpolicy-test
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
namespace: networkpolicy-test
spec:
replicas: 1
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 AWS VDP 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @savannabungee · 版权归作者与 AWS VDP 所有