CVE-2024-36621
MEDIUM6.5EPSS 0.05%Moby Race Condition vulnerability
Published: 11/29/2024Modified: 2/4/2026
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.
Affected packages (3)
- Debian/docker.iofrom 0
- Go/github.com/moby/mobyfrom 0, < 26.0.0
- Go/github.com/moby/mobyfrom 0, < 26.0.0+incompatible
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://github.com/advisories/GHSA-2mj3-vfvx-fc43
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-36621
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-36621
- PATCHhttps://github.com/moby/moby
- WEBhttps://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
- WEBhttps://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24
- WEBhttps://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e