GHSA-2mj3-vfvx-fc43
Moby Race Condition vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/moby/moby | < 26.0.0 | 26.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-36621
- https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
- https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
- https://github.com/advisories/GHSA-2mj3-vfvx-fc43
- https://github.com/moby/moby
- https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24