high6.5
CVE-2024-36621
Moby Race Condition vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/moby/moby | < 26.0.0 | 26.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mobyproject | Moby | Version 25.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
- https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24
- https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
- https://github.com/advisories/GHSA-2mj3-vfvx-fc43
- https://nvd.nist.gov/vuln/detail/CVE-2024-36621