CVE-2024-41110 Moby authz zero length regression
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- DockerUbuntuDebian
Description
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.
Upgrade path
16 packages: 15 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/docker(Alpine v3.20) | < 26.1.5-r0 | 26.1.5-r0 | Fixed |
| alpine/docker(Alpine v3.21) | < 27.1.1-r0 | 27.1.1-r0 | Fixed |
| alpine/docker(Alpine v3.22) | < 27.1.1-r0 | 27.1.1-r0 | Fixed |
| alpine/docker(Alpine v3.23) | < 27.1.1-r0 | 27.1.1-r0 | Fixed |
| alpine/docker(Alpine v3.24) | < 27.1.1-r0 | 27.1.1-r0 | Fixed |
| debian/docker.io(Debian 12) | < 20.10.24+dfsg1-1+deb12u1; = 20.10.24+dfsg1-1 | 20.10.24+dfsg1-1+deb12u1 | Fixed |
| debian/docker.io(Debian 13) | < 26.1.5+dfsg1-2 | 26.1.5+dfsg1-2 | Fixed |
| debian/docker.io(Debian 14) | < 26.1.5+dfsg1-2 | 26.1.5+dfsg1-2 | Fixed |
| docker github.com/docker/docker(Go) | >= 19.03.0, < 23.0.15; >= 20.10.0+incompatible, < 25.0.6+incompatible; >= 24.0.0, < 25.0.6; >= 26.0.0+incompatible, < 26.1.5+incompatible +3 more | 23.0.15, 25.0.6, 25.0.6+incompatible, 26.1.5, 26.1.5+incompatible, 27.1.1, 27.1.1+incompatible | Fixed |
| docker moby | = 27.1.0; >= 19.0.0, <= 19.03.15; >= 20.0.0, <= 20.10.27; >= 23.0.0, <= 23.0.14 +5 more | after 19.03.15, 20.10.27, 23.0.14, 24.0.9, 25.0.5, 26.0.2, 26.1.14, 27.0.3 | Fixed |
| moby(Go) | >= 20.10.0+incompatible, < 25.0.6+incompatible; >= 26.0.0+incompatible, < 26.1.5+incompatible; >= 27.0.0+incompatible, < 27.1.1+incompatible | 25.0.6+incompatible, 26.1.5+incompatible, 27.1.1+incompatible | Fixed |
| ubuntu/docker.io(Ubuntu 22.04) | < 20.10.21-0ubuntu1~22.04.7+esm1 | 20.10.21-0ubuntu1~22.04.7+esm1 | Fixed |
| ubuntu/docker.io(Ubuntu 24.04) | < 20.10.25+dfsg1-2ubuntu1+esm1 | 20.10.25+dfsg1-2ubuntu1+esm1 | Fixed |
| ubuntu/docker.io-app(Ubuntu 22.04) | < 26.1.3-0ubuntu1~22.04.1+esm1; < 27.5.1-0ubuntu3~22.04.2 | 26.1.3-0ubuntu1~22.04.1+esm1, 27.5.1-0ubuntu3~22.04.2 | Fixed |
| ubuntu/docker.io-app(Ubuntu 24.04) | < 26.1.3-0ubuntu1~24.04.1+esm1; < 27.5.1-0ubuntu3~24.04.2 | 26.1.3-0ubuntu1~24.04.1+esm1, 27.5.1-0ubuntu3~24.04.2 | Fixed |
| moby | = = 27.1.0; = >= 19.03.0, <= 19.03.15; = >= 20.0.0, <= 20.10.27; = >= 23.0.0, <= 23.0.14 +5 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| docker github.com/docker/docker(Go) | >= 19.03.0, < 23.0.15 | 23.0.15 |
| docker github.com/docker/docker(Go) | >= 26.0.0, < 26.1.5 | 26.1.5 |
| docker github.com/docker/docker(Go) | >= 27.0.0, < 27.1.1 | 27.1.1 |
| docker github.com/docker/docker(Go) | >= 24.0.0, < 25.0.6 | 25.0.6 |
| moby(Go) | >= 20.10.0+incompatible, < 25.0.6+incompatible | 25.0.6+incompatible |
| moby(Go) | >= 26.0.0+incompatible, < 26.1.5+incompatible | 26.1.5+incompatible |
| moby(Go) | >= 27.0.0+incompatible, < 27.1.1+incompatible | 27.1.1+incompatible |
| docker github.com/docker/docker(Go) | >= 20.10.0+incompatible, < 25.0.6+incompatible | 25.0.6+incompatible |
| docker github.com/docker/docker(Go) | >= 26.0.0+incompatible, < 26.1.5+incompatible | 26.1.5+incompatible |
| docker github.com/docker/docker(Go) | >= 27.0.0+incompatible, < 27.1.1+incompatible | 27.1.1+incompatible |
| debian/docker.io(Debian:12) | < 20.10.24+dfsg1-1+deb12u1 | 20.10.24+dfsg1-1+deb12u1 |
| debian/docker.io(Debian:12) | = 20.10.24+dfsg1-1 | No fix listed |
| debian/docker.io(Debian:13) | < 26.1.5+dfsg1-2 | 26.1.5+dfsg1-2 |
| debian/docker.io(Debian:14) | < 26.1.5+dfsg1-2 | 26.1.5+dfsg1-2 |
| ubuntu/docker.io-app(Ubuntu:22.04) | < 27.5.1-0ubuntu3~22.04.2 | 27.5.1-0ubuntu3~22.04.2 |
| ubuntu/docker.io(Ubuntu:22.04) | < 20.10.21-0ubuntu1~22.04.7+esm1 | 20.10.21-0ubuntu1~22.04.7+esm1 |
| ubuntu/docker.io-app(Ubuntu:22.04) | < 26.1.3-0ubuntu1~22.04.1+esm1 | 26.1.3-0ubuntu1~22.04.1+esm1 |
| moby | = >= 19.03.0, <= 19.03.15 | No fix listed |
| moby | = >= 20.0.0, <= 20.10.27 | No fix listed |
| moby | = >= 23.0.0, <= 23.0.14 | No fix listed |
| moby | = >= 24.0.0, <= 24.0.9 | No fix listed |
| moby | = >= 25.0.0, <= 25.0.5 | No fix listed |
| moby | = >= 26.0.0, <= 26.0.2 | No fix listed |
| moby | = >= 26.1.0, <= 26.1.14 | No fix listed |
| moby | = >= 27.0.0, <= 27.0.3 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| moby | = = 27.1.0 | No fix listed |
| docker moby | >= 19.0.0, <= 19.03.15 | No fix listed |
| docker moby | >= 20.0.0, <= 20.10.27 | No fix listed |
| docker moby | >= 23.0.0, <= 23.0.14 | No fix listed |
| docker moby | >= 24.0.0, <= 24.0.9 | No fix listed |
| docker moby | >= 25.0.0, <= 25.0.5 | No fix listed |
| docker moby | >= 26.0.0, <= 26.0.2 | No fix listed |
| docker moby | >= 26.1.0, <= 26.1.14 | No fix listed |
| docker moby | = 27.1.0 | No fix listed |
| docker moby | >= 27.0.0, <= 27.0.3 | No fix listed |
| alpine/docker(Alpine:v3.20) | < 26.1.5-r0 | 26.1.5-r0 |
| alpine/docker(Alpine:v3.21) | < 27.1.1-r0 | 27.1.1-r0 |
| alpine/docker(Alpine:v3.22) | < 27.1.1-r0 | 27.1.1-r0 |
| alpine/docker(Alpine:v3.23) | < 27.1.1-r0 | 27.1.1-r0 |
| alpine/docker(Alpine:v3.24) | < 27.1.1-r0 | 27.1.1-r0 |
| ubuntu/docker.io-app(Ubuntu:24.04) | < 27.5.1-0ubuntu3~24.04.2 | 27.5.1-0ubuntu3~24.04.2 |
| ubuntu/docker.io(Ubuntu:24.04) | < 20.10.25+dfsg1-2ubuntu1+esm1 | 20.10.25+dfsg1-2ubuntu1+esm1 |
| ubuntu/docker.io-app(Ubuntu:24.04) | < 26.1.3-0ubuntu1~24.04.1+esm1 | 26.1.3-0ubuntu1~24.04.1+esm1 |
References
- https://github.com/moby/moby/security/advisories/GHSA-v23v-6jw2-98fq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/moby/moby/commit/411e817ddf710ff8e08fa193da80cb78af708191 patch
- https://github.com/moby/moby/commit/42f40b1d6dd7562342f832b9cd2adf9e668eeb76 patch
- https://github.com/moby/moby/commit/65cc597cea28cdc25bea3b8a86384b4251872919 patch
- https://github.com/moby/moby/commit/852759a7df454cbf88db4e954c919becd48faa9b patch
- https://github.com/moby/moby/commit/a31260625655cff9ae226b51757915e275e304b0 patch
- https://github.com/moby/moby/commit/a79fabbfe84117696a19671f4aa88b82d0f64fc1 patch
- https://github.com/moby/moby/commit/ae160b4edddb72ef4bd71f66b975a1a1cc434f00 patch
- https://github.com/moby/moby/commit/ae2b3666c517c96cbc2adf1af5591a6b00d4ec0f patch
- https://github.com/moby/moby/commit/cc13f952511154a2866bddbb7dddebfe9e83b801 patch
- https://github.com/moby/moby/commit/fc274cd2ff4cf3b48c91697fb327dd1fb95588fb patch
- github.com product
- https://www.docker.com/blog/docker-security-advisory-docker-engine-authz-plugin
- github.com
- Debian Security Tracker CVE-2024-41110 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7161-1 vendor-advisory
- USN-7161-2 vendor-advisory
- USN-7161-3 vendor-advisory
- www.cve.org
- security.netapp.com
- lists.debian.org
- security.alpinelinux.org vendor-advisory