ADVISORIES

GitHub Advisory Database

GHSA-x744-4wpc-v9h2

Moby has AuthZ plugin bypass when provided oversized request bodies

Details

Summary

A security vulnerability has been detected that allows attackers to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low.

This is an incomplete fix for CVE-2024-41110.

Impact

If you don't use AuthZ plugins, you are not affected.

Using a specially-crafted API request, an attacker could make the Docker daemon forward the request to an authorization plugin without the body. The authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it.

Anyone who depends on authorization plugins that introspect the request body to make access control decisions is potentially impacted.

Workarounds

If unable to update immediately:

  • Avoid using AuthZ plugins that rely on request body inspection for security decisions.
  • Restrict access to the Docker API to trusted parties, following the principle of least privilege.

Credits

Resources

Affected packages

EcosystemPackageAffected versions
Gogithub.com/moby/moby
All versions before 29.3.1 (fixed in 29.3.1)
Gogithub.com/moby/moby/v2
All versions before 2.0.0-beta.8 (fixed in 2.0.0-beta.8)

References