CVE-2024-41110Moby authz zero length regression
Moby is an open-source project created by Docker for software containerization. A security vulnerability has been detected in certain versions of Docker Engine, which could allow an attacker to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low. Using a specially-crafted API request, an Engine API client could make the daemon forward the request or response to an authorization plugin without the body. In certain circumstances, the authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it. A security issue was discovered In 2018, where an attacker could bypass AuthZ plugins using a specially crafted API request. This could lead to unauthorized actions, including privilege escalation. Although this issue was fixed in Docker Engine v18.09.1 in January 2019, the fix was not carried forward to later major versions, resulting in a regression. Anyone who depends on authorization plugins that introspect the request and/or response body to make access control decisions is potentially impacted. Docker EE v19.03.x and all versions of Mirantis Container Runtime are not vulnerable. docker-ce v27.1.1 containes patches to fix the vulnerability. Patches have also been merged into the master, 19.03, 20.0, 23.0, 24.0, 25.0, 26.0, and 26.1 release branches. If one is unable to upgrade immediately, avoid using AuthZ plugins and/or restrict access to the Docker API to trusted parties, following the principle of least privilege.
What to do
Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | docker.io | Fix pending | 20.10.25+dfsg1-2ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Ubuntu 24.04 | docker.io-app | Fixed | 27.5.1-0ubuntu3~24.04.2 | UBUNTU-CVE-2024-41110 |
| Ubuntu 22.04 | docker.io | Fix pending | 20.10.21-0ubuntu1~22.04.7+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Ubuntu 22.04 | docker.io-app | Fix pending | 27.5.1-0ubuntu3~22.04.2 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Ubuntu 20.04 | docker.io | Fix pending | 20.10.21-0ubuntu1~20.04.6+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Ubuntu 20.04 | docker.io-app | Fix pending | 26.1.3-0ubuntu1~20.04.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Ubuntu 18.04 | docker.io | Fix pending | 20.10.21-0ubuntu1~18.04.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-41110 |
| Debian 14 | docker.io | Fixed | 26.1.5+dfsg1-2 | DEBIAN-CVE-2024-41110 |
| Debian 13 | docker.io | Fixed | 26.1.5+dfsg1-2 | DEBIAN-CVE-2024-41110 |
| Debian 12 | docker.io | Fixed | 20.10.24+dfsg1-1+deb12u1 | DEBIAN-CVE-2024-41110 |
| Red Hat Enterprise Linux 10 | podman | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | podman | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | docker | Fix pending Affected | ||
| Alpine Linux 3.24 | docker | Fixed | 27.1.1-r0 | ALPINE-CVE-2024-41110 |
| Alpine Linux 3.23 | docker | Fixed | 27.1.1-r0 | ALPINE-CVE-2024-41110 |
| Alpine Linux 3.22 | docker | Fixed | 27.1.1-r0 | ALPINE-CVE-2024-41110 |
| Alpine Linux 3.21 | docker | Fixed | 27.1.1-r0 | ALPINE-CVE-2024-41110 |
| Alpine Linux 3.20 | docker | Fixed | 26.1.5-r0 | ALPINE-CVE-2024-41110 |
| Go library | github.com/docker/docker | Fixed | 27.1.1 | GO-2024-3005 |
| Go library | github.com/moby/moby | Fixed | 27.1.1+incompatible | GO-2024-3005 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- moby: affected: >= 19.03.0, <= 19.03.15, >= 20.0.0, <= 20.10.27, >= 23.0.0, <= 23.0.14, >= 24.0.0, <= 24.0.9, >= 25.0.0, <= 25.0.5, >= 26.0.0, <= 26.0.2
References
- https://github.com/moby/moby/security/advisories/GHSA-v23v-6jw2-98fq
- https://github.com/moby/moby/commit/411e817ddf710ff8e08fa193da80cb78af708191
- https://github.com/moby/moby/commit/42f40b1d6dd7562342f832b9cd2adf9e668eeb76
- https://github.com/moby/moby/commit/65cc597cea28cdc25bea3b8a86384b4251872919
- https://github.com/moby/moby/commit/852759a7df454cbf88db4e954c919becd48faa9b
- https://github.com/moby/moby/commit/a31260625655cff9ae226b51757915e275e304b0
- https://github.com/moby/moby/commit/a79fabbfe84117696a19671f4aa88b82d0f64fc1
- https://github.com/moby/moby/commit/ae160b4edddb72ef4bd71f66b975a1a1cc434f00
- https://github.com/moby/moby/commit/ae2b3666c517c96cbc2adf1af5591a6b00d4ec0f
- https://github.com/moby/moby/commit/cc13f952511154a2866bddbb7dddebfe9e83b801
- https://github.com/moby/moby/commit/fc274cd2ff4cf3b48c91697fb327dd1fb95588fb
- https://www.docker.com/blog/docker-security-advisory-docker-engine-authz-plugin
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.