CVE-2024-36621 Moby Race Condition vulnerability

Medium 6.5 Published Updated

Attackers can trigger concurrent builds to cause resource exhaustion and denial of service in Docker Engine.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-36621?

CVE-2024-36621 is a medium-severity vulnerability in n/a, published on 29 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go. The vulnerability could be used to trigger concurrent builds that call the EnsureLayer function resulting in resource leaks/exhaustion.

Weakness: CWE-362

Which versions are affected by CVE-2024-36621?

3 open source packages ship an affected version, including github.com/moby/moby. It affects 1 product.

PackageAffectedFixed in
github.com/moby/moby GoAll versions26.0.0
github.com/moby/moby GoAll versions26.0.0
github.com/moby/moby GoAll versions26.0.0+incompatible

Products include Mobyproject Moby.

How do I fix CVE-2024-36621?

Upgrade github.com/moby/moby to a fixed version for your release line: 26.0.0 or 26.0.0+incompatible.

Is CVE-2024-36621 being exploited?

There is no known exploitation of CVE-2024-36621 in the wild and no public exploit code.

Sources

Also known as AZL-53810, AZL-53813, DEBIAN-CVE-2024-36621, GHSA-2mj3-vfvx-fc43, GO-2024-3304, OESA-2024-2525 and 3 more.

Is CVE-2024-36621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free