CVE-2024-6222: In Docker Desktop before v4.29.0 an attacker who has gained access to the Docker Desktop VM through a container breakout can further escape to the host by passing extensions and dashboard related IPC messages

Published Jul 9, 2024
·
Updated

In Docker Desktop before v4.29.0, an attacker who has gained access to the Docker Desktop VM through a container breakout can further escape to the host by passing extensions and dashboard related IPC messages.

Docker Desktop v4.29.0 https://docs.docker.com/desktop/release-notes/#4290 fixes the issue on MacOS, Linux and Windows with Hyper-V backend.

As exploitation requires "Allow only extensions distributed through the Docker Marketplace" to be disabled, Docker Desktop  v4.31.0 https://docs.docker.com/desktop/release-notes/#4310  additionally changes the default configuration to enable this setting by default.

Affected Software

4 affected components
All of the following
Docker Desktop<4.29.0
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Docker Desktop to a version that resolves this vulnerability.

    Fixed in 4.29.0
  2. Configuration

    In Docker Desktop v4.29.0 and later, the default configuration enables “Allow only extensions distributed through the Docker Marketplace” (this should be left enabled).

    Docker Desktop Allow only extensions distributed through the Docker Marketplace = enabled
  3. Operational

    If any versions prior to 4.29.0 were exposed, validate that the Docker Desktop configuration has “Allow only extensions distributed through the Docker Marketplace” enabled after upgrading.

Event History

Jul 9, 2024
CVE Published
via MITRE·05:16 PM
Data Sourced
via MITRE·05:16 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-6222?

CVE-2024-6222 is considered a high-severity vulnerability due to the potential for an attacker to escape from a container to the host system.

2

How do I fix CVE-2024-6222?

To mitigate CVE-2024-6222, upgrade Docker Desktop to version 4.29.0 or later.

3

What systems are affected by CVE-2024-6222?

CVE-2024-6222 affects Docker Desktop versions prior to 4.29.0.

4

Can CVE-2024-6222 be exploited remotely?

No, CVE-2024-6222 requires an attacker to have gained access to the Docker Desktop VM via a container breakout.

5

What does CVE-2024-6222 allow an attacker to do?

CVE-2024-6222 allows an attacker to escape from the Docker Desktop VM to the host system.

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