{"id":"CVE-2024-36621","published":"2024-11-29T00:00:00Z","modified":"2024-12-04T17:13:36Z","title":"moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00621,"percentile":0.50712,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e","tags":[]},{"url":"https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24","tags":[]},{"url":"https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.14},{"name":"CVSS severity","points":4.55}]},"affected":[{"ecosystem":"Go","package":"github.com/moby/moby","vulnerableRanges":["<26.0.0","<26.0.0+incompatible"],"patched":["26.0.0","26.0.0+incompatible"],"from":["GHSA-2mj3-vfvx-fc43","GO-2024-3304"],"provenance":"source"}],"summary":{"text":"The flaw is a race condition in the moby project, specifically in the builder/builder-next/adapters/snapshot/layer.go component, where concurrent builds calling the EnsureLayer function are not properly synchronized. An attacker with network access and low-privilege authentication, requiring no user interaction, can trigger concurrent builds that lead to resource leaks and exhaustion, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:08Z"},"euvd":{"id":"EUVD-2024-3400","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41091","published":"2021-10-04","fixed":"20.10.9+incompatible","kev":false},{"cve":"CVE-2022-24769","published":"2022-03-24","fixed":"20.10.14+incompatible","kev":false},{"cve":"CVE-2024-24557","published":"2024-02-01","fixed":"25.0.2+incompatible","kev":false},{"cve":"CVE-2024-36621","published":"2024-11-29","fixed":"26.0.0+incompatible","kev":false},{"cve":"CVE-2024-36623","published":"2024-11-29","fixed":"26.0.0+incompatible","kev":false,"link":{"from":"CVE-2024-36621","to":"CVE-2024-36623","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/moby/moby","fromFixed":"26.0.0","toFixed":"26.0.0+incompatible","daysApart":0},{"kind":"similar","provenance":"machine","score":0.31,"basis":"same package + description similarity"}]}},{"cve":"CVE-2024-36620","published":"2024-11-29","fixed":"26.1.0+incompatible","kev":false,"link":{"from":"CVE-2024-36621","to":"CVE-2024-36620","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/moby/moby","fromFixed":"26.0.0+incompatible","toFixed":"26.1.0","daysApart":0}]}},{"cve":"CVE-2024-41110","published":"2024-07-24","fixed":"27.1.1+incompatible","kev":false}],"package":"Go:github.com/moby/moby"}}