CVE-2024-36623: Github.com/moby/moby Moby Race Condition Vulnerability Vulnerability
HIGHCVE-2024-36623 is a HIGH (CVSS 8.1) moby race condition vulnerability vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Github.com/moby/moby libraries in the Go ecosystem. The issue involves moby race condition vulnerability. Remediation is available by upgrading affected packages to version 25.0.4.
CVE-2024-36623 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).
How to Fix CVE-2024-36623
To remediate this vulnerability, upgrade all affected Github.com/moby/moby dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/moby/moby to 25.0.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/moby/moby
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-36623, inspect your project dependencies for Github.com/moby/moby:
inspect dependencies for github.com/moby/moby
Analyze the terminal output to locate any version of Github.com/moby/moby in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 25.0.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Github.com/moby/moby, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-36623 Affected Github.com/moby/moby Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/moby/moby
|
Go |
< 25.0.4
|
25.0.4
|
References
Frequently Asked Questions
What is CVE-2024-36623?
Which Github.com/moby/moby versions are affected?
What version fixes CVE-2024-36623?
Is github.com/moby/moby affected?
What is the CVSS score of CVE-2024-36623?
What CWE is associated with CVE-2024-36623?
How can I check Go dependencies for CVE-2024-36623?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gh5c-3h97-2f3q",
"modified" : "2025-04-04T15:19:50Z",
"published" : "2024-11-29T18:34:03Z",
"aliases" : [ "CVE-2024-36623" ],
"summary" : "Moby Race Condition vulnerability",
"details" : "moby v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent write operations resulting in data corruption or application crashes.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/moby/moby"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "25.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36623"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/commit/5689dabfb357b673abdb4391eef426f297d7d1bb"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/commit/8e3bcf19748838b30e34d612832d1dc9d90363b8"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/1047524396/c192c0159a19bf58a4373b696467dc29"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moby/moby"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/blob/v25.0.3/pkg/streamformatter/streamformatter.go#L115"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-02T21:38:26Z",
"nvd_published_at" : "2024-11-29T18:15:08Z"
}
}