-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.stage/alphaDenotes an issue tracking an enhancement targeted for Alpha statusDenotes an issue tracking an enhancement targeted for Alpha statustracked/noDenotes an enhancement issue is NOT actively being tracked by the Release TeamDenotes an enhancement issue is NOT actively being tracked by the Release Team
Description
Enhancement Description
- One-line enhancement description (can be used as a release note): Harden exec requests against SSRF by preventing command modification through URL parameters and GET requests.
- Kubernetes Enhancement Proposal: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/1898-hardened-exec
- Primary contact (assignee): @tallclair
- Responsible SIGs: sig-node, sig-api-machinery
- Enhancement target (which target equals to which milestone):
- Alpha release target: v1.20
- Beta release target (x.y)
- Stable release target (x.y)
Roadmap Summary:
- v1.20
- Update
PodExecOptionswith pod reference - Update Kubelet API (protected by
DeprecatedKubeletStreamingAPI)- Remove the kubelet's
/runand UID-specific endpoints - Require POST request for kubelet streaming endpoints
- Require options in request body
- Remove the kubelet's
- Update kube-apiserver
- Always use POST for streaming requests to Kubelet
- Send options in request body (but also query params)
- Require POST with request body for non-websocket
execrequests, guarded by alphaHardenedExecRequests
- Update clients to send exec POST requests with options in the body (and also in query params)
- go client (+kubectl?)
- ...
- Expand E2E test coverage - https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/1898-hardened-exec#test-plan
- Update
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.sig/nodeCategorizes an issue or PR as relevant to SIG Node.Categorizes an issue or PR as relevant to SIG Node.stage/alphaDenotes an issue tracking an enhancement targeted for Alpha statusDenotes an issue tracking an enhancement targeted for Alpha statustracked/noDenotes an enhancement issue is NOT actively being tracked by the Release TeamDenotes an enhancement issue is NOT actively being tracked by the Release Team