# CVE-2024-36621: docker.io: moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go

CVE-2024-36621 is fixed in 4 products on 1 platform, first by docker.io 20.10.21-0ubuntu1~18.04.3+esm3, released November 29, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-36621
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0063
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 29, 2024

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | docker.io Debian 13.5 (trixie) | 26.1.4+dfsg1-9 | [DEBIAN-CVE-2024-36621](https://patchblox.com/security/data/fix/linux/debian-cve-2024-36621.md) | Nov 29, 2024 |
| Linux | docker.io Debian 14 | 26.1.4+dfsg1-9 | [DEBIAN-CVE-2024-36621](https://patchblox.com/security/data/fix/linux/debian-cve-2024-36621.md) | Nov 29, 2024 |
| Linux | docker.io Ubuntu 18.04.6 LTS (bionic) | 20.10.21-0ubuntu1~18.04.3+esm3 | [docker.io 20.10.21-0ubuntu1~18.04.3+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-docker.io-20.10.21-0ubuntu1-18.04.3-esm3.md) | Nov 29, 2024 |
| Linux | docker.io Ubuntu 20.04 LTS (focal) | 26.1.3-0ubuntu1~20.04.1+esm1 | [docker.io 26.1.3-0ubuntu1~20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-docker.io-26.1.3-0ubuntu1-20.04.1-esm1.md) | Nov 29, 2024 |
| Linux | docker.io Ubuntu 22.04.1 LTS (jammy) | 27.5.1-0ubuntu3~22.04.2 | [docker.io 27.5.1-0ubuntu3~22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-docker.io-27.5.1-0ubuntu3-22.04.2.md) | Nov 29, 2024 |
| Linux | docker.io Ubuntu 24.04.5 LTS (noble) | 27.5.1-0ubuntu3~24.04.2 | [docker.io 27.5.1-0ubuntu3~24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-docker.io-27.5.1-0ubuntu3-24.04.2.md) | Nov 29, 2024 |
| Linux | golang-docker-dev Ubuntu 18.04.6 LTS (bionic) | 20.10.21-0ubuntu1~18.04.3+esm3 | [golang-docker-dev 20.10.21-0ubuntu1~18.04.3+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-docker-dev-20.10.21-0ubuntu1-18.04.3-esm3.md) | Nov 29, 2024 |
| Linux | golang-docker-dev Ubuntu 20.04 LTS (focal) | 20.10.21-0ubuntu1~20.04.6+esm2 | [golang-docker-dev 20.10.21-0ubuntu1~20.04.6+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-docker-dev-20.10.21-0ubuntu1-20.04.6-esm2.md) | Nov 29, 2024 |
| Linux | golang-docker-dev Ubuntu 22.04.1 LTS (jammy) | 20.10.21-0ubuntu1~22.04.7+esm2 | [golang-docker-dev 20.10.21-0ubuntu1~22.04.7+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-docker-dev-20.10.21-0ubuntu1-22.04.7-esm2.md) | Nov 29, 2024 |
| Linux | golang-github-docker-docker-dev Ubuntu 18.04.6 LTS (bionic) | 20.10.21-0ubuntu1~18.04.3+esm3 | [golang-github-docker-docker-dev 20.10.21-0ubuntu1~18.04.3+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-docker-docker-dev-20.10.21-0ubuntu1-18.04.3-esm3.md) | Nov 29, 2024 |
| Linux | golang-github-docker-docker-dev Ubuntu 20.04 LTS (focal) | 20.10.21-0ubuntu1~20.04.6+esm2 | [golang-github-docker-docker-dev 20.10.21-0ubuntu1~20.04.6+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-github-docker-docker-dev-20.10.21-0ubuntu1-20.04.6-esm2.md) | Nov 29, 2024 |
| Linux | golang-github-docker-docker-dev Ubuntu 22.04.1 LTS (jammy) | 20.10.21-0ubuntu1~22.04.7+esm2 | [golang-github-docker-docker-dev 20.10.21-0ubuntu1~22.04.7+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-github-docker-docker-dev-20.10.21-0ubuntu1-22.04.7-esm2.md) | Nov 29, 2024 |
| Linux | golang-github-docker-docker-dev Ubuntu 24.04.5 LTS (noble) | 20.10.25+dfsg1-2ubuntu1+esm2 | [golang-github-docker-docker-dev 20.10.25+dfsg1-2ubuntu1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-golang-github-docker-docker-dev-20.10.25-dfsg1-2ubuntu1-esm2.md) | Nov 29, 2024 |
| Linux | vim-syntax-docker Ubuntu 18.04.6 LTS (bionic) | 20.10.21-0ubuntu1~18.04.3+esm3 | [vim-syntax-docker 20.10.21-0ubuntu1~18.04.3+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-vim-syntax-docker-20.10.21-0ubuntu1-18.04.3-esm3.md) | Nov 29, 2024 |
| Linux | vim-syntax-docker Ubuntu 20.04 LTS (focal) | 20.10.21-0ubuntu1~20.04.6+esm2 | [vim-syntax-docker 20.10.21-0ubuntu1~20.04.6+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-syntax-docker-20.10.21-0ubuntu1-20.04.6-esm2.md) | Nov 29, 2024 |
| Linux | vim-syntax-docker Ubuntu 22.04.1 LTS (jammy) | 20.10.21-0ubuntu1~22.04.7+esm2 | [vim-syntax-docker 20.10.21-0ubuntu1~22.04.7+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-syntax-docker-20.10.21-0ubuntu1-22.04.7-esm2.md) | Nov 29, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
