▲ | franga2000 2 days ago | ||||||||||||||||||||||||||||||||||
The code inside those containers is isolated, which is the whole point. Only the app or runner container has socket access, which it uses to create new containers without socket access and it runs user code in there. If your get RCE in the app/runner, you get RCE on the host, yes, no shit. But if you get RCE in any other container on the system, you're properly contained. | |||||||||||||||||||||||||||||||||||
▲ | hamdingers 2 days ago | parent [-] | ||||||||||||||||||||||||||||||||||
It appears you fundamentally don't understand what mounting the docker socket is doing. I'm sorry to give you homework but you need to go look it up to participate in this conversation. > The code inside those containers is isolated, which is the whole point. A container with socket access can replace code or binaries in any other container, read any containers volumes and environment variables, replace whole containers, etc. That does not meet any definition of "isolated" | |||||||||||||||||||||||||||||||||||
|