CVE-2024-36621
Aliases:GHSA-2mj3-vfvx-fc43GO-2024-3304
Advisory lineage Upstream: 0 Downstream: 4
Analyzed
Published: 29 Nov 2024, 00:00
Last modified:04 Dec 2024, 17:13
Vulnerability Summary
Overall Risk (default)
medium
26/100 CVSS Score
6.5 MEDIUM
v3.1 (cve.org)
EPSS Score
0.05% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
29 Nov 2024, 00:00
Published
Vulnerability first disclosed
04 Dec 2024, 17:13
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.05%• Percentile: 17%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
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.
Affected Systems
- github.com/moby•moby
< 26.0.0 | < 26.0.0+incompatible
- mobyproject•moby
25.0.5
References (6)
- https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
- https://github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go#L24
- https://gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
- https://nvd.nist.gov/vuln/detail/CVE-2024-36621
- https://github.com/advisories/GHSA-2mj3-vfvx-fc43
- https://github.com/moby/moby