3 matches found
CVE-2024-21626
利用: 1.git clone https://github.com/cdxiaodong/CVE-2024-21626 2.docker-compose up 验证: 如果获取到宿主的/etc/passwd 即存在该漏洞 环境: runc: =v1.0.0-rc93,=1.1.11 攻击细节原理: 在 runc 受影响版本中,由于在初始化过程中泄露了部分内部文件描述符,包括对宿主的 /sys/fs/cgroup 的句柄,同时 runc 未验证最终工作目录是否位于容器的挂载命名空间。攻击者可以修改 process.cwd 配置为 /proc/self/fd/7或者将宿主机调用runc...
GitHub: CVE-2024-21626 Container breakout through process.cwd trickery and leaked fds
...
GHSA-XR7R-F8XQ-VFVV runc vulnerable to container breakout through process.cwd trickery and leaked fds
Impact In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process from runc exec to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem "attack 2". Th...