{"answers":{"affected":"5 open source packages ship an affected version, including github.com/containerd/containerd. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-25153 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd to a fixed version for your release line: 1.5.18 or 1.6.18.","what":"CVE-2023-25153 is a medium-severity denial of service vulnerability in containerd, published on 16 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-25153 and fix it if it is affected.\n\nWhat it is: CVE-2023-25153 is a medium-severity denial of service vulnerability in containerd, published on 16 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-25153 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.18, 1.6.18\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.18\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.18\n- github.com/containerd/containerd (Go): affected from 1.6.0; fixed in 1.6.18\n- github.com/containerd/containerd (Go): affected from 1.6.0; fixed in 1.6.18\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-2023-25153/ (Markdown: https://insights.sbomify.com/CVE-2023-25153/index.md)","id":"CVE-2023-25153","markdown":"https://insights.sbomify.com/CVE-2023-25153/index.md","name":"CVE-2023-25153","record":{"aliases":["AZL-13571","AZL-13584","AZL-13674","AZL-35000","CLEANSTART-2025-OB15168","DEBIAN-CVE-2023-25153","GHSA-259w-8hf6-59c2","GO-2023-1573","UBUNTU-CVE-2023-25153"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"container runtime","requires_auth":"none","summary":"A maliciously crafted OCI image can cause memory exhaustion and denial of service in containerd during import.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"containerd is an open source container runtime. Before versions 1.6.18 and 1.5.18, when importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service. This bug has been fixed in containerd 1.6.18 and 1.5.18.  Users should update to these versions to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.","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":"containerd OCI image importer memory exhaustion","id":"CVE-2023-25153","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":5,"n_references":4,"next":{"headline":"Cross site scripting (XSS) of ActivityPub URI in misskey","id":"CVE-2023-25154"},"packages":[{"ecosystem":"Go","fixed":["1.5.18","1.6.18"],"introduced":["0","1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GO-2023-1573"},{"ecosystem":"Go","fixed":["1.5.18"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-259w-8hf6-59c2"},{"ecosystem":"Go","fixed":["1.5.18"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-259w-8hf6-59c2"},{"ecosystem":"Go","fixed":["1.6.18"],"introduced":["1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-259w-8hf6-59c2"},{"ecosystem":"Go","fixed":["1.6.18"],"introduced":["1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-259w-8hf6-59c2"}],"prev":{"headline":"Symbolic Link (Symlink) Following in github.com/pterodactyl/wings","id":"CVE-2023-25152"},"products":["containerd"],"published":"2023-02-16","related":[{"cvss_score":9.4,"headline":"containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull","id":"CVE-2026-53488","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.4,"headline":"containerd CRI checkpoint restore CDI annotation smuggling","id":"CVE-2026-53492","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.2,"headline":"containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore","id":"CVE-2026-53489","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.6,"headline":"Containerd vulnerable to host filesystem access during image unpack","id":"CVE-2025-47290","kev_date_added":null,"published":"2025-05-20"},{"cvss_score":7.3,"headline":"containerd user ID handling bypass allows runAsNonRoot evasion","id":"CVE-2026-46680","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.3,"headline":"containerd affected by a local privilege escalation via wide permissions on CRI directory","id":"CVE-2024-25621","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":6.9,"headline":"containerd CRI server: Host memory exhaustion through Attach goroutine leak","id":"CVE-2025-64329","kev_date_added":null,"published":"2025-11-07"}],"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":"2025-03-10","vendors":["containerd"]},"summary":"A maliciously crafted OCI image can cause memory exhaustion and denial of service in containerd during import.","url":"https://insights.sbomify.com/CVE-2023-25153/"}