3 ms·
AIUI they haven't shown a container escape and are just claiming it so far. Or did I miss something?
by eqvinox 6mo ago
AIUI they haven't shown a container escape and are just claiming it so far. Or did I miss something?
- mjmas 6mo agoHaving write access on anything you can read should be enough if libraries or binaries are shared (read-only) between the host and container.
- eqvinox 6mo ago> if libraries or binaries are shared (read-only) between the host and container. Yeah, exactly - that's a pretty big "if", and not how a lot of container automation does things. In particular you'd need to hit the base system, it's no help at all if some application files that the host does nothing with can be hit.
- angry_octet 6mo agoIt's not hard to see ways to escape the container with a cache write primative. I suspect the copy.fail team have held back on releasing a POC because of the disruption it could cause.
- eqvinox 6mo agoIt's not a cache write primitive though; it's a write-to-readable-mappings primitive. At least the way I understood it is, you need to be able to get a (read) file descriptor to the target in order to throw it into the splice() syscall. Now, there are some "funky" no-fs things that could be opened and are mmap'able/spliceable (some stuff in /proc/*, no idea what exactly though), but it's not immediately obvious to me how this is a generic container escape.