{"id":"CVE-2024-36621","details":"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.","aliases":["GHSA-2mj3-vfvx-fc43","GO-2024-3304"],"modified":"2026-02-24T11:49:14.914744Z","published":"2024-11-29T18:15:07.993Z","related":["CGA-mmpp-xmw8-4r94","openSUSE-SU-2024:14567-1"],"references":[{"type":"WEB","url":"https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24"},{"type":"ADVISORY","url":"https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135"},{"type":"FIX","url":"https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moby/moby","events":[{"introduced":"0"},{"last_affected":"e63daec8672d77ac0b2b5c262ef525c7cf17fd20"}]}],"versions":["0.0.3","autorun/1","docs-v1.12.0-rc4-2016-07-15","upstream/0.1.1","upstream/0.1.2","upstream/0.1.3","upstream/0.1.4","v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.6","v0.1.7","v0.1.8","v0.10.0","v0.11.0","v0.11.1","v0.12.0","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.4.4","v0.4.5","v0.4.6","v0.4.7","v0.4.8","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.6.5","v0.6.6","v0.6.7","v0.7.0","v0.7.0-rc5","v0.7.0-rc6","v0.7.1","v0.7.2","v0.7.3","v0.7.4","v0.7.5","v0.7.6","v0.8.0","v0.8.1","v0.9.0","v1.0.0","v1.0.1","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.4.0","v1.4.1","v17.12.0-ce-rc1","v18.04.0-ce-rc1","v18.06.0-ce-rc1","v18.09.0-ce-tp0","v19.03.0-beta1","v19.03.0-beta2","v19.03.0-beta3","v20.10.0","v20.10.0-beta1","v20.10.0-rc1","v20.10.0-rc2","v20.10.1","v20.10.2","v22.06.0-beta.0","v24.0.0-beta.1","v24.0.0-beta.2","v24.0.0-rc.1","v24.0.0-rc.2","v25.0.0","v25.0.0-beta.1","v25.0.0-beta.2","v25.0.0-beta.3","v25.0.0-rc.1","v25.0.0-rc.2","v25.0.0-rc.3","v25.0.1","v25.0.2","v25.0.3","v25.0.4","v25.0.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36621.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}