Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-36621
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-36621
Complete source record
{
"id": "c4595334d063957878ec820acc16d4e55effc6e70a3d210877d0a8e89567f7fd",
"url": "https://osv.dev/vulnerability/CVE-2024-36621",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-36621",
"summary": "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.",
"evidence": "osv:CVE-2024-36621",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-36621",
"aliases": [
"CVE-2024-36621",
"GHSA-2mj3-vfvx-fc43",
"GO-2024-3304"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/moby/moby",
"type": "GIT",
"events": [
{
"introduced": "e63daec8672d77ac0b2b5c262ef525c7cf17fd20"
},
{
"fixed": "37545cc644344dcb576cba67eb7b6f51a463d31e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mobyproject:moby:25.0.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "25.0.5"
},
{
"last_affected": "25.0.5"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "37545cc644344dcb576cba67eb7b6f51a463d31e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"25.0.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36621.json"
}
}
],
"modified": "2026-10-28T02:30:23.193315930Z",
"provider": "osv",
"references": [
"https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135",
"https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36621.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-36621",
"https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36621.json"
}
},
"related_cves": [
{
"value": "CVE-2024-36621",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489456,
"published_at": "2024-11-29T00:00:00+00:00"
}