Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/moby/moby
  4. ›
  5. CVE-2024-36621

CVE-2024-36621: Moby Race Condition vulnerability

November 29, 2024 (updated December 4, 2024)

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.

References

  • gist.github.com/1047524396/5d44459edab5fafcdf86b43909b81135
  • github.com/advisories/GHSA-2mj3-vfvx-fc43
  • github.com/moby/moby
  • github.com/moby/moby/blob/v25.0.5/builder/builder-next/adapters/snapshot/layer.go
  • github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e
  • nvd.nist.gov/vuln/detail/CVE-2024-36621

Code Behaviors & Features

Detect and mitigate CVE-2024-36621 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.0

Fixed versions

  • 26.0.0

Solution

Upgrade to version 26.0.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

go/github.com/moby/moby/CVE-2024-36621.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.