CVE-2024-41110

Moby authz zero length regression

State
Published
Severity
10.0 Critical
Published
Jul 24, 2024
Updated
Oct 13, 2024
Reserved
Jul 15, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-187 Partial String Comparison
  • CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
  • CWE-863 Incorrect Authorization

Affected Products

ProductVersions
mobymoby
  • >= 19.03.0, <= 19.03.15Affected
  • >= 20.0.0, <= 20.10.27Affected
  • >= 23.0.0, <= 23.0.14Affected
  • >= 24.0.0, <= 24.0.9Affected
  • >= 25.0.0, <= 25.0.5Affected
  • >= 26.0.0, <= 26.0.2Affected
  • >= 26.1.0, <= 26.1.14Affected
  • >= 27.0.0, <= 27.0.3Affected
  • = 27.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.