CVE-2024-41110: Moby authz zero length regression

Published Jul 24, 2024
·
Updated

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. This advisory outlines the issue, identifies the affected versions, and provides remediation steps for impacted users.

Impact

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.

Vulnerability details

- AuthZ bypass and privilege escalation: An attacker could exploit a bypass using an API request with Content-Length set to 0, causing the Docker daemon to forward the request without the body to the AuthZ plugin, which might approve the request incorrectly. - Initial fix: The issue was fixed in Docker Engine v18.09.1 January 2019.. - Regression: The fix was not included in Docker Engine v19.03 or newer versions. This was identified in April 2024 and patches were released for the affected versions on July 23, 2024. The issue was assigned CVE-2024-41110.

Patches

- docker-ce v27.1.1 containes patches to fix the vulnerability. - Patches have also been merged into the master, 19.0, 20.0, 23.0, 24.0, 25.0, 26.0, and 26.1 release branches.

Remediation steps

- If you are running an affected version, update to the most recent patched version. - Mitigation if unable to update immediately: - Avoid using AuthZ plugins. - Restrict access to the Docker API to trusted parties, following the principle of least privilege.

References

- https://github.com/moby/moby/commit/fc274cd2ff4cf3b48c91697fb327dd1fb95588fb - https://github.com/moby/moby/commit/a79fabbfe84117696a19671f4aa88b82d0f64fc1 - https://www.docker.com/blog/docker-security-advisory-docker-engine-authz-plugin/

Other sources

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.

NVD

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

9 affected componentsFixes available
go/github.com/docker/docker>=27.0.0<27.1.1
27.1.1
go/github.com/docker/docker>=26.0.0<26.1.5
26.1.5
go/github.com/docker/docker>=19.03.0<23.0.15
23.0.15
go/github.com/docker/docker>=24.0.0<25.0.6
25.0.6
debian/docker.io<=20.10.5+dfsg1-1+deb11u2
20.10.5+dfsg1-1+deb11u420.10.24+dfsg1-1+deb12u126.1.5+dfsg1-9
Microsoft cbl2 moby-engine 24.0.9-17
Microsoft cbl2 moby-engine 24.0.9-7
Microsoft azl3 moby-engine 25.0.3-5
Microsoft azl3 moby-engine 25.0.3-13

Event History

Jul 24, 2024
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
News Published
via BleepingComputer·07:00 PM
News Published
via BleepingComputer·07:01 PM
Jul 25, 2024
News Published
via The Register·01:46 PM
News Published
via The Register·01:48 PM
Jul 30, 2024
Advisory Published
via GitHub·10:18 AM
Aug 5, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Oct 29, 2024
News Published
via The Register·10:30 PM
Dec 16, 2024
Data Sourced
via Launchpad·06:00 PM
Description
Apr 19, 2025
Data Sourced
via Ubuntu·12:25 PM
RemedyDescriptionSeverityAffected Software
May 2, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41110?

CVE-2024-41110 is classified as a critical vulnerability due to its potential to bypass authorization mechanisms in Docker Engine.

2

Which versions are affected by CVE-2024-41110?

CVE-2024-41110 affects various versions of Docker Engine, specifically those prior to 27.1.1, 26.1.5, and 23.0.15.

3

How do I fix CVE-2024-41110?

To mitigate CVE-2024-41110, upgrade Docker Engine to version 27.1.1, 26.1.5, or 23.0.15 or later.

4

What impact does CVE-2024-41110 have on Docker security?

CVE-2024-41110 can allow unauthorized access, potentially compromising sensitive data and service integrity.

5

Are there specific products impacted by CVE-2024-41110?

Yes, products like IBM Cognos Dashboards on Cloud Pak for Data prior to 5.0.0 are affected by CVE-2024-41110.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203