Skip to content
DoS Advisory Intermediate CVE-2024-5652

Docker Desktop Daemon CLI External Control of File Path Denial-of-Service Vulnerability

The Daemon CLI in Docker Desktop did not properly validate a user-supplied path before using it in file operations. A local attacker who could already run low-privileged code could exploit this to cause a denial-of-service condition on the system.

Hashim Jawad Follow

Originally disclosed on Zero Day Initiative

Medium 6.1 View original

This vulnerability allows local attackers to create a denial-of-service condition on affected installations of Docker Desktop. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Hashim Jawad (@ihack4falafel), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Daemon CLI used a user-supplied path in file operations without validating it first.

Impact

A local attacker with low-privileged code execution could create a denial-of-service condition on the affected Docker Desktop installation.

What the attacker needed

Ability to run low-privileged code locally

The fix

Docker issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A denial-of-service means making a program or computer stop working properly for legitimate users. Here, a part of Docker Desktop called the Daemon CLI accepted a file path from the user without checking it was safe, and mishandling that path could crash or hang things. The attacker already needed to be able to run some code on the machine, so this is not something a remote stranger could do.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Hashim Jawad

View all

9 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.