{"answers":{"affected":"3 open source packages ship an affected version, including github.com/moby/moby. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-36621 in the wild and no public exploit code.","fix":"Upgrade github.com/moby/moby to a fixed version for your release line: 26.0.0 or 26.0.0+incompatible.","what":"CVE-2024-36621 is a medium-severity vulnerability in n/a, published on 29 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-36621 and fix it if it is affected.\n\nWhat it is: CVE-2024-36621 is a medium-severity vulnerability in n/a, published on 29 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-36621 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/moby/moby (Go): affected all versions; fixed in 26.0.0\n- github.com/moby/moby (Go): affected all versions; fixed in 26.0.0\n- github.com/moby/moby (Go): affected all versions; fixed in 26.0.0+incompatible\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-36621/ (Markdown: https://insights.sbomify.com/CVE-2024-36621/index.md)","id":"CVE-2024-36621","markdown":"https://insights.sbomify.com/CVE-2024-36621/index.md","name":"CVE-2024-36621","record":{"aliases":["AZL-53810","AZL-53813","DEBIAN-CVE-2024-36621","GHSA-2mj3-vfvx-fc43","GO-2024-3304","OESA-2024-2525","OESA-2024-2528","OESA-2024-2529","UBUNTU-CVE-2024-36621"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Docker Engine","requires_auth":"low_privilege","summary":"Attackers can trigger concurrent builds to cause resource exhaustion and denial of service in Docker Engine.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"moby","vendor":"mobyproject"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Moby Race Condition vulnerability","id":"CVE-2024-36621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"Command injection in n/a","id":"CVE-2024-36622"},"packages":[{"ecosystem":"Go","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby","purl":null,"source":"GHSA-2mj3-vfvx-fc43"},{"ecosystem":"Go","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","source":"GHSA-2mj3-vfvx-fc43"},{"ecosystem":"Go","fixed":["26.0.0+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","source":"GO-2024-3304"}],"prev":{"headline":"NULL Pointer Dereference on moby image history","id":"CVE-2024-36620"},"products":["n/a"],"published":"2024-11-29","related":[{"cvss_score":8.1,"headline":"Moby Race Condition vulnerability","id":"CVE-2024-36623","kev_date_added":null,"published":"2024-11-29"},{"cvss_score":7.5,"headline":"moby/moby's dockerd daemon encrypted overlay network may be unauthenticated","id":"CVE-2023-28840","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":7.5,"headline":"Docker Authentication Bypass","id":"CVE-2018-12608","kev_date_added":null,"published":"2018-09-10"},{"cvss_score":6.9,"headline":"Moby classic builder cache poisoning","id":"CVE-2024-24557","kev_date_added":null,"published":"2024-02-01"},{"cvss_score":6.8,"headline":"moby/moby's dockerd daemon encrypted overlay network traffic may be unencrypted","id":"CVE-2023-28841","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":6.8,"headline":"moby/moby's dockerd daemon encrypted overlay network with a single endpoint is unauthenticated","id":"CVE-2023-28842","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":6.5,"headline":"NULL Pointer Dereference on moby image history","id":"CVE-2024-36620","kev_date_added":null,"published":"2024-11-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-04","vendors":["n/a"]},"summary":"Attackers can trigger concurrent builds to cause resource exhaustion and denial of service in Docker Engine.","url":"https://insights.sbomify.com/CVE-2024-36621/"}