
runc容器逃逸漏洞预警
Edit HOST inside payload.c, compile with make. Start nc and run pwn.sh inside the container.
/usr/bin/docker-runc binary on the host with the
payload. It'll also overwrite /bin/sh inside the container.docker exec <id> /bin/sh is issued on the host.The original commit I used to write the exploit is here.
The researchers who actually found the vulnerability have published a writeup here.
I've added the original exploit CVE_2019_5736_tar_xz which works differently than mine. Thanks to
cyphar for pointing me to it.