Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 3 min read Incident mediumAdept

Docker Security Advisory: AuthZ Plugin Bypass Regression in Docker Engine

Docker Engine v19.03 and later regressed on a 2018 authorization-plugin bypass (CVE-2024-41110): an API request with Content-Length set to 0 causes the daemon to forward the request to the AuthZ plugin without its body, so a plugin not set to deny by default may approve it and allow privilege escalation. The original fix shipped in v18.09.1 in January 2019 but was not carried forward; patches were released July 23, 2024. Only setups relying on AuthZ plugins are affected, and Docker Desktop impact is limited to the VM, with 4.33 containing the fix. Remediation is to upgrade, or else avoid AuthZ plugins and restrict Docker API access.

Related posts

  • Mitigating CVE-2026-31431 (“Copy Fail”) in Docker Engine

    Docker mediumAdept

    CVE-2026-31431 ("Copy Fail") is a Linux kernel flaw in the AF_ALG algif_aead module. It lets any unprivileged process with an AF_ALG socket write to the shared page cache, so a default container can corrupt files such as setuid binaries for the host and for other containers. Docker's first mitigation in v29.4.2 blocked socket(AF_ALG) via seccomp and denied socketcall(2) outright, because BPF cannot inspect socketcall's pointer arguments. That broke networking for 32-bit glibc, Go GOARCH=386, Wine and SteamCMD workloads, and the int $0x80 path from amd64 could still reach socketcall anyway. Docker Engine v29.4.3 reverts the socketcall deny and blocks AF_ALG at the LSM socket-creation hook through AppArmor and a SELinux CIL module, keeping the seccomp filter as defense-in-depth; patching the kernel remains the real fix.

  • Trivy supply chain compromise: What Docker Hub users should know

    Docker mediumAdept

    Attackers used stolen Aqua Security publishing credentials to push infostealer-laden aquasec/trivy images (0.69.4, 0.69.5, 0.69.6 and latest) to Docker Hub between March 19 and March 23, 2026. The malware targets Docker registry tokens, cloud credentials, SSH keys, Kubernetes tokens, CI/CD secrets and .env files. Anyone who pulled those tags or digests should remove them, rotate all reachable credentials at once, treat hosts with the Docker socket mounted as fully compromised, and pin to 0.69.3. Takeaways: mutable tags are not a security boundary, digest pinning should be paired with signed provenance verification, and scanning cannot detect a compromised publishing pipeline.

  • Reconciling the Past: Correcting Records for Unfixed Kubernetes CVEs

    Kubernetes Blog mediumAdept

    The Kubernetes Security Response Committee is correcting CVE records for three old, unfixed vulnerabilities, CVE-2020-8561, CVE-2020-8562 and CVE-2021-25740, which wrongly listed a fixed version. The records now mark all versions as affected, so scanners may start flagging them. The three issues are webhook redirects to internal networks, a DNS TOCTOU proxy bypass, and cross-namespace forwarding via Endpoints. All are design tradeoffs that can't be patched without breaking core functionality. Administrators should mitigate through configuration: keep API server log verbosity below 10 with profiling disabled, run a caching DNS resolver like dnsmasq with min-cache-ttl on control plane nodes, and remove Endpoints/EndpointSlice write access from broad RBAC roles on upgraded clusters.

  • Coding Agent Horror Stories: The CVE That Did Not Exist

    Docker mediumAdept

    A self-hosted, read-only AI code review bot running on Ollama answered a routine PostgreSQL 16.11→16.13 patch bump with a 1,500-word report alleging an "architectural takeover". The report cited a nonexistent CVE, named Kubernetes resources that did not exist and urged revoking all IAM access. Read-only permissions stopped the agent from acting, but its output could still push a human with real access into causing an outage, so agent output should be treated as untrusted input. The walkthrough moves the reviewer into a Docker Sandbox microVM with the repo mounted read-only, no credentials, and deny-all networking except the model port. It also adds a CI step that checks every cited CVE ID against the NVD API and flags the review when any ID is fake.

  • Safer Docker Hub Pulls via a Sonatype-Protected Proxy

    Docker mediumAdept

    Routing Docker Hub pulls through a Nexus Repository Docker proxy with Sonatype Repository Firewall gives an organization a single, auditable checkpoint. Images are inspected at download time, malware and high-severity vulnerabilities are quarantined before any layer reaches developers, and approved layers are cached to avoid rate limits. The setup covers authenticating with a Docker Hub Organization Access Token scoped to read/pull, creating a docker (proxy) repository pointing at registry-1.docker.io behind a stable hostname, and enabling the Firewall Audit and Quarantine capability. The recommended rollout is to start with conservative policies (malware and CVSS ≥ 8), monitor violations and cache hit rate, then tighten enforcement; blocked pulls return a 404 by default.

The quest for software engineering knowledge.

Look:
Layout: