Docker OPA Yetkilendirme Bypass (CVE-2024-41110) Acil Müdahale
Docker daemon'un Content-Length 0 isteklerini OPA yetkilendirme eklentisine iletememesi sonucu oluşan sessiz bypass açığını engeller. Daemon'ı katı fail-close moduna zorlar.
# 1. Audit active docker authz plugins
docker info --format '{{json .Plugins.Authorization}}'
# 2. Block direct docker socket access immediately
chmod 660 /var/run/docker.sock
systemctl restart docker-authz-opa
# 3. Patch /etc/docker/daemon.json for fail-close
cat <<'EOF' > /etc/docker/daemon.json
{
"authorization-plugins": ["opa-docker-authz:latest"],
"userland-proxy": false,
"live-restore": true
}
EOF
systemctl reload docker