You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UDS delivery (034): verify whether an app-controlled socket symlink makes the proxy connect to node-local sockets (proposal 039 Phase 0a) #1083
Proposal 039 (docs/proposals/039_uds-csi-driver.md, "The finding that decides it") reasons — unverified — that the shipped 034 UDS delivery has a confused-deputy: the node proxy resolves the pod's socket path /var/lib/kubelet/pods/<uid>/volumes/kubernetes.io~empty-dir/<vol>/<file> in its own mount namespace, the last component is app-created, and connect(2) on an AF_UNIX pathname follows symlinks. If an app replaces its socket with a symlink, the proxy would connect as root to whatever the link names in the proxy's view (node-local agent/SPIRE sockets or another pod's socket).
This issue tracks Phase 0a: reproduce or refute on kind with a hostile leg in e2e/uds.sh that must be seen failing (attack works) before any fix, so the gate is not vacuous. The result decides 039:
confirmed → ship the interim (supervisor MOUNT_ATTR_NOSYMFOLLOW on its kubelet-pods view, refuse medium: Memory carriers, udsWorkloads.enabled default false) and build 039 as the structural fix (breaking cut-over, no coexistence — decision 2026-09-27);
Closing as superseded: proposal 039 shipped in full (#1090 Phase 1, #1092 Phase 2, deployed as chart 2.0.0 on 2026-09-30). The socket directory is now a mesh-owned per-pod tmpfs mounted nosymfollow on the host view the proxy resolves through, the emptyDir carrier is rejected at admission, and the proxy no longer mounts the kubelet pods tree. e2e/uds-csi.sh asserts the host mount carries nosymfollow and that a link planted in the directory is not followed (seen red with the flag removed). The Phase 0a reproduction against the removed emptyDir design was not run and no longer decides anything.
Activity
bpalermo commentedon Oct 1, 2026
Closing as superseded: proposal 039 shipped in full (#1090 Phase 1, #1092 Phase 2, deployed as chart 2.0.0 on 2026-09-30). The socket directory is now a mesh-owned per-pod tmpfs mounted
nosymfollowon the host view the proxy resolves through, the emptyDir carrier is rejected at admission, and the proxy no longer mounts the kubelet pods tree.e2e/uds-csi.shasserts the host mount carriesnosymfollowand that a link planted in the directory is not followed (seen red with the flag removed). The Phase 0a reproduction against the removed emptyDir design was not run and no longer decides anything.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
docs(proposals): mark 039 implemented and record Phase 3 on talos (#1110