Skip to content
DoS Advisory Intermediate CVE-2022-23774

Docker Desktop Link Following Denial-of-Service Vulnerability

The Docker Desktop Service follows symbolic links when deleting files, allowing a local attacker with low-privileged code execution to delete arbitrary files and cause a denial-of-service condition.

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 Docker Desktop Service does not properly validate file paths or resolve symbolic links before deleting files, allowing a low-privileged user to redirect the deletion to arbitrary files.

Impact

An attacker could delete arbitrary files, leading to a denial-of-service condition on the system.

What the attacker needed

Low-privileged code execution on target

The fix

Docker has issued an update to correct this 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 symbolic link is a shortcut that points to another file. The Docker Desktop Service, which runs with higher privileges, deletes files but does not check if a shortcut is being used. A local attacker can create a shortcut to an important file, and when the service deletes it, the real file is removed, breaking the system.

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.