CVE-2024-41110 Moby authz zero length regression

Critical 10.0 Published Updated

Attackers can bypass Docker authorization plugins by sending crafted API requests without bodies, potentially leading to unauthorized actions and privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-41110?

CVE-2024-41110 is a critical authentication bypass vulnerability in moby, published on 24 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863, CWE-444, CWE-187

Which versions are affected by CVE-2024-41110?

10 open source packages ship an affected version, including github.com/moby/moby and github.com/docker/docker.

PackageAffectedFixed in
github.com/moby/moby GoFrom 20.10.0+incompatible25.0.6+incompatible, 26.1.5+incompatible, 27.1.1+incompatible
github.com/docker/docker GoFrom 19.03.023.0.15
github.com/docker/docker GoFrom 19.03.023.0.15
github.com/docker/docker GoFrom 20.10.0+incompatible25.0.6+incompatible, 26.1.5+incompatible, 27.1.1+incompatible
github.com/docker/docker GoFrom 24.0.025.0.6
github.com/docker/docker GoFrom 24.0.025.0.6
4 more packages
github.com/docker/docker GoFrom 26.0.026.1.5
github.com/docker/docker GoFrom 26.0.026.1.5
github.com/docker/docker GoFrom 27.0.027.1.1
github.com/docker/docker GoFrom 27.0.027.1.1
Linux distribution packages (18)
docker-stable SUSE:Enterprise Storage 7.1All versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions24.0.9_ce-150000.1.5.1
docker SUSE:Linux Enterprise Module for Containers 12All versions25.0.6_ce-98.115.1
docker-stable SUSE:Linux Enterprise Module for Containers 15 SP5All versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise Module for Containers 15 SP6All versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions24.0.9_ce-1.5.1
docker-stable SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions24.0.9_ce-1.5.1
docker-stable SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions24.0.9_ce-150000.1.5.1
docker-stable SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions24.0.9_ce-150000.1.5.1
docker-stable openSUSE:Leap 15.5All versions24.0.9_ce-150000.1.5.1
docker-stable openSUSE:Leap 15.6All versions24.0.9_ce-150000.1.5.1
docker openSUSE:TumbleweedAll versions26.1.5_ce-1.1
docker-stable openSUSE:TumbleweedAll versions24.0.9_ce-1.1
nova openSUSE:TumbleweedAll versions3.10.0-1.1

How do I fix CVE-2024-41110?

Upgrade github.com/moby/moby to a fixed version for your release line: 25.0.6+incompatible, 26.1.5+incompatible or 27.1.1+incompatible.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-41110 being exploited?

There is no known exploitation of CVE-2024-41110 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as AZL-47017, AZL-47042, BELL-CVE-2024-41110, CLEANSTART-2026-OZ76094, CLEANSTART-2026-PX86725, CLEANSTART-2026-US13665 and 40 more.

Is CVE-2024-41110 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free