CVE-2024-36621
moby: Race Condition in Moby's Snapshot Layer Handling
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-362
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/moby/moby | <26.0.0 | 26.0.0 |
Open a package to see all its vulnerabilities.
Operating systems · 25 fixes
Azure Linux 1 release · 1 package
fixed 1
moby-engine
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | moby-engine | 0:25.0.3-8.azl3 |
chainguard 1 release · 5 packages
not affected 1
fixed 4
py3-docker
rancher-machine
docker-machine-driver-harvester
kubevela
pulumi
| Release | Package | Fixed in |
|---|---|---|
| py3-docker +4 | not affected | |
| rancher-machine | 0.15.0.137-r0 | |
| docker-machine-driver-harvester | 1.0.5-r0 | |
| kubevela | 1.9.13-r2 | |
| pulumi | 3.142.0-r1 |
debian 4 releases · 1 package
affected 2
fixed 2
docker-io
| Release | Package | Fixed in |
|---|---|---|
| 11 | docker-io | affected |
| 12 | docker-io | affected |
| 13 | docker-io | 26.1.4+dfsg1-9 |
| 14 | docker-io | 26.1.4+dfsg1-9 |
echo 1 release · 1 package
fixed 1
docker-io
| Release | Package | Fixed in |
|---|---|---|
| docker-io | 26.1.4+dfsg1-9 |
openSUSE 1 release · 1 package
fixed 1
govulncheck-vulndb
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20241209T183251-1.1 | openSUSE-SU-2024:14567-1 |
root.io debian 1 release · 1 package
affected 1
rootio-docker-io
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-docker-io | affected |
ubuntu 4 releases · 2 packages
fixed 5
affected 2
docker-io
docker-io-app
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | docker-io | 20.10.21-0ubuntu1~18.04.3+esm3 |
| 20.04-ESM | docker-io | 20.10.21-0ubuntu1~20.04.6+esm2 |
| 20.04-ESM | docker-io-app | 26.1.3-0ubuntu1~20.04.1+esm1 |
| 22.04 | docker-io | affected |
| 22.04 | docker-io-app | 27.5.1-0ubuntu3~22.04.2 |
| 24.04 | docker-io | affected |
1 more row
wolfi 1 release · 5 packages
not affected 1
fixed 4
py3-docker
rancher-machine
docker-machine-driver-harvester
kubevela
pulumi
| Release | Package | Fixed in |
|---|---|---|
| py3-docker | not affected | |
| rancher-machine | 0.15.0.137-r0 | |
| docker-machine-driver-harvester | 1.0.5-r0 | |
| kubevela | 1.9.13-r2 | |
| pulumi | 3.142.0-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-36621
- gist.github.com https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
- github.com https://github.com/advisories/GHSA-2mj3-vfvx-fc43
- github.com https://github.com/moby/moby
- github.com https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24
- github.com https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
- github.com https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e (v26.0.0-rc2)
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-36621
- ubuntu.com https://ubuntu.com/security/notices/USN-7474-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-36621
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.