CVE-2024-8695
Published: 12 September 2024
Summary
CVE-2024-8695 is a critical-severity Cross-site Scripting (CWE-79) vulnerability in Docker Desktop. Its CVSS base score is 9.0 (Critical).
Operationally, ranked in the top 12.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2024-8695 is a remote code execution vulnerability that can be triggered through a crafted extension description or changelog field. It affects Docker Desktop versions prior to 4.34.2 and stems from insufficient validation of extension metadata, allowing malicious extensions to abuse the rendering or processing logic.
An attacker can distribute a malicious extension that, once installed by a user, executes arbitrary code on the host system. The attack requires the victim to install the extension and involves user interaction, yet the CVSS vector reflects high impact on confidentiality, integrity, and availability across both the vulnerable component and its surrounding environment.
The official Docker Desktop release notes for version 4.34.2 address the issue by correcting how extension metadata is handled, and users are advised to upgrade promptly to eliminate the exposure.
EPSS scores for this CVE rose from lower values to a peak of 0.0592 before receding to the current 0.0311, indicating a measurable increase in observed exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-49354
Vulnerability details
A remote code execution (RCE) vulnerability via crafted extension description/changelog could be abused by a malicious extension in Docker Desktop before 4.34.2.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates web inputs to reject script-related content that could produce XSS.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.
Directly prevents execution of attacker-supplied code written into data memory regions.