CVE-2024-36621 json
Moby Race Condition vulnerability
published 2024-11-29 23 mo ago modified 2026-09-10 59 d ago also EUVD-2024-3400 , GHSA-2mj3-vfvx-fc43 , GO-2024-3304
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/moby/moby 26.0.0, 26.0.0+incompatible
- docker docker 23.0.11, 25.0.5, 26.0.0-rc2
- mobyproject moby 23.0.11, 25.0.5, 26.0.0-rc2
- docker.io Debian 14, Debian 13 26.1.4+dfsg1-9
debian advisories DEBIAN-CVE-2024-36621
- docker.io-app Ubuntu 22.04 LTS 27.5.1-0ubuntu3~22.04.2
- docker.io-app Ubuntu 24.04 LTS 27.5.1-0ubuntu3~24.04.2
- docker.io Ubuntu Pro 18.04 LTS 20.10.21-0ubuntu1~18.04.3+esm3
- docker.io Ubuntu Pro 20.04 LTS 20.10.21-0ubuntu1~20.04.6+esm2
- docker.io Ubuntu Pro 22.04 LTS 20.10.21-0ubuntu1~22.04.7+esm2
- docker.io Ubuntu Pro 24.04 LTS 20.10.25+dfsg1-2ubuntu1+esm2
- docker.io-app Ubuntu Pro 20.04 LTS 26.1.3-0ubuntu1~20.04.1+esm1
ubuntu advisories UBUNTU-CVE-2024-36621
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241209T183251-1.1
opensuse advisories openSUSE-SU-2024:14567-1
- moby-engine Azure Linux 3.0 25.0.3-9
- moby-engine CBL-Mariner 2.0 24.0.9-13
azure linux advisories AZL-53810AZL-53813
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/moby/moby@37545cc commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-36621 updated cvss 5.3
moby: Race Condition in Moby's Snapshot Layer Handling
-
Red Hat Multicluster Engine for Kubernetes multicluster-engine/agent-service-rhel8, multicluster-engine/assisted-service-8-rhel8, multicluster-engine/assisted-service-9-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/istio-rhel8-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9 Red Hat Ceph Storage 7 rhceph/grafana-rhel9not affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-agent-installer-api-server-rhel9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/moby/moby | <26.0.0 <26.0.0+incompatible |
26.0.0 26.0.0+incompatible |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
github.com
/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
web, patch
-
github.com
/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24
web, product
-
gist.github.com
/1047524396/5d44459edab5fafcdf86b43909b81135
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-36621
advisory
-
github.com
/advisories/GHSA-2mj3-vfvx-fc43
advisory
-
github.com
/moby/moby
package
Sources
- CVE List CVE-2024-36621
- GitHub Advisory GHSA-2mj3-vfvx-fc43
- NVD CVE-2024-36621
- OSV GO-2024-3304
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.