# CVE-2024-36621: Moby Race Condition vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 57% of CVEs (2026-11-30)
- Published: 2024-11-29T00:00:00.000Z
- Modified: 2026-09-10T03:50:20.240Z
- Also known as: GHSA-2mj3-vfvx-fc43, GO-2024-3304
- Related: CGA-mmpp-xmw8-4r94
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/moby/moby (Go): before 26.0.0; before 26.0.0+incompatible
- mobyproject moby: 25.0.5

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e> (fix, patch, web)
- <https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24> (product, web)
- <https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-36621> (advisory)
- <https://github.com/advisories/GHSA-2mj3-vfvx-fc43> (advisory)
- <https://github.com/moby/moby> (package)

## Sources

- CVE List: [CVE-2024-36621](https://www.cve.org/CVERecord?id=CVE-2024-36621), CVE Terms of Use, modified 2024-12-04
- GitHub Advisory Database: [GHSA-2mj3-vfvx-fc43](https://github.com/advisories/GHSA-2mj3-vfvx-fc43), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3304](https://pkg.go.dev/vuln/GO-2024-3304), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-36621](https://nvd.nist.gov/vuln/detail/CVE-2024-36621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36621 · Whole record: https://cve.day/CVE-2024-36621.json · Rebuilt by cve.day 2026-11-25T22:58:49.548Z
