Files
kubernetes/pkg/kubelet/server
Kubernetes Submit Queue 4ac5f278c5 Merge pull request #38742 from timstclair/cri-exec-long
Automatic merge from submit-queue

[CRI] Don't include user data in CRI streaming redirect URLs

Fixes: https://github.com/kubernetes/kubernetes/issues/36187

Avoid userdata in the redirect URLs by caching the {Exec,Attach,PortForward}Requests with a unique token. When the redirect URL is created, the token is substituted for the request params. When the streaming server receives the token request, the token is used to fetch the actual request parameters out of the cache.

For additional security, the token is generated using the secure random function, is single use (i.e. the first request with the token consumes it), and has a short expiration time.

/cc @kubernetes/sig-node
2017-01-11 17:16:07 -08:00
..
2017-01-11 09:09:48 -05:00
2017-01-11 15:20:36 -05:00
2017-01-11 09:09:48 -05:00
2016-10-25 03:40:09 -04:00
2017-01-11 09:09:48 -05:00
2017-01-11 15:20:36 -05:00
2016-07-16 13:48:21 -04:00
2017-01-11 09:09:48 -05:00