CVE-2024-36621
MEDIUM 6.5CVSS 3.1Moby Race Condition vulnerability
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.
- Published
- 29 Nov 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-362
- Also known as
- GHSA-2mj3-vfvx-fc43GO-2024-3304
- Sources
- NVDJSONOSV GHSA-2mj3-vfvx-fc43JSONOSV GO-2024-3304JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mobyproject | mobycpe:2.3:a:mobyproject:moby:25.0.5:*:*:*:*:*:*:* |
= 25.0.5 | |
| OSV | Go | github.com/moby/moby | < 26.0.0 | 26.0.0 |
| OSV | Go | github.com/moby/moby | < 26.0.0+incompatible | 26.0.0+incompatible |
References
- https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135 · Third Party Advisory, WEB
- https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24 · Product, WEB
- https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e · Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-36621 · ADVISORY
- https://github.com/advisories/GHSA-2mj3-vfvx-fc43 · ADVISORY
- https://github.com/moby/moby · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Nov 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Nov 2024)