CVE-2024-36621: Race Condition

Published Nov 29, 2024
·
Updated

Last updated 1 May 2025

Other sources

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.

— NVD

Affected Software

22 affected componentsFixes available
go/github.com/moby/moby<26.0.0
26.0.0
Mobyproject Moby=25.0.5
Microsoft cbl2 moby-engine 24.0.9-16
Microsoft cbl2 moby-engine 24.0.9-16
Microsoft azl3 moby-engine 25.0.3-8
Microsoft cbl2 moby-engine 24.0.9-11
Microsoft azl3 moby-engine 25.0.3-13
debian/docker.io*
debian/docker.io<26.1.4+dfsg1-9
26.1.4+dfsg1-9
debian/docker.io<26.1.4+dfsg1-9
26.1.4+dfsg1-9
debian/docker.io<=20.10.24+dfsg1-1+deb12u1
26.1.5+dfsg1-9+deb13u128.5.2+dfsg4-5
ubuntu/docker.io*
ubuntu/docker.io<20.10.21-0ubuntu1~18.04.3+esm3
20.10.21-0ubuntu1~18.04.3+esm3
ubuntu/docker.io<20.10.21-0ubuntu1~20.04.6+esm2
20.10.21-0ubuntu1~20.04.6+esm2
ubuntu/docker.io-app<26.1.3-0ubuntu1~20.04.1+esm1
26.1.3-0ubuntu1~20.04.1+esm1
ubuntu/docker.io-app<27.5.1-0ubuntu3~22.04.2
27.5.1-0ubuntu3~22.04.2
ubuntu/docker.io<20.10.21-0ubuntu1~22.04.7+esm2
20.10.21-0ubuntu1~22.04.7+esm2
ubuntu/docker.io-app<27.5.1-0ubuntu3~24.04.2
27.5.1-0ubuntu3~24.04.2
ubuntu/docker.io<20.10.25+dfsg1-2ubuntu1+esm2
20.10.25+dfsg1-2ubuntu1+esm2
ubuntu/docker.io*
ubuntu/docker.io*
ubuntu/docker.io*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/moby/moby to a version that resolves this vulnerability.

    Fixed in 26.0.0
  2. Upgrade

    Upgrade debian/docker.io to a version that resolves this vulnerability.

    Fixed in 26.1.4+dfsg1-9
  3. Upgrade

    Upgrade debian/docker.io to a version that resolves this vulnerability.

    Fixed in 26.1.5+dfsg1-9+deb13u1Fixed in 28.5.2+dfsg4-5
  4. Upgrade

    Upgrade ubuntu/docker.io to a version that resolves this vulnerability.

    Fixed in 20.10.21-0ubuntu1~18.04.3+esm3
  5. Upgrade

    Upgrade ubuntu/docker.io to a version that resolves this vulnerability.

    Fixed in 20.10.21-0ubuntu1~20.04.6+esm2
  6. Upgrade

    Upgrade ubuntu/docker.io-app to a version that resolves this vulnerability.

    Fixed in 26.1.3-0ubuntu1~20.04.1+esm1
  7. Upgrade

    Upgrade ubuntu/docker.io-app to a version that resolves this vulnerability.

    Fixed in 27.5.1-0ubuntu3~22.04.2
  8. Upgrade

    Upgrade ubuntu/docker.io to a version that resolves this vulnerability.

    Fixed in 20.10.21-0ubuntu1~22.04.7+esm2
  9. Upgrade

    Upgrade ubuntu/docker.io-app to a version that resolves this vulnerability.

    Fixed in 27.5.1-0ubuntu3~24.04.2
  10. Upgrade

    Upgrade ubuntu/docker.io to a version that resolves this vulnerability.

    Fixed in 20.10.25+dfsg1-2ubuntu1+esm2

Event History

Nov 29, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 PM
Description
Advisory Published
via GitHub·06:34 PM
Data Sourced
via GitHub·06:34 PM
DescriptionAffected Software
Dec 2, 2024
Advisory Published
via GitHub·09:38 PM
Dec 4, 2024
Data Sourced
via NVD·05:15 PM
SeverityWeakness
Data Sourced
via GitHub·10:17 PM
SeverityWeakness
Dec 13, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Event
via Microsoft·08:00 AM
Jul 2, 2025
Data Sourced
via NVD·08:43 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-36621?

CVE-2024-36621 is classified as a medium severity vulnerability due to its potential for resource leaks.

2

How do I fix CVE-2024-36621?

To fix CVE-2024-36621, upgrade to version 26.0.0 or later of the Moby software.

3

What type of vulnerability is CVE-2024-36621?

CVE-2024-36621 is a race condition vulnerability affecting concurrent build processes.

4

Which versions of Moby are affected by CVE-2024-36621?

Versions of Moby prior to 26.0.0 are affected by CVE-2024-36621.

5

What impacts can CVE-2024-36621 have on my system?

CVE-2024-36621 can lead to resource exhaustion which may degrade performance or cause service interruptions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203