{"answers":{"affected":"3 open source packages ship an affected version, including github.com/docker/distribution and github.com/distribution/distribution. It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-2253 in the wild and no public exploit code.","fix":"Upgrade github.com/docker/distribution to 2.8.2-beta.1 or later.","what":"CVE-2023-2253 is a medium-severity denial of service vulnerability in Redhat Openshift Container Platform, published on 6 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-2253 and fix it if it is affected.\n\nWhat it is: CVE-2023-2253 is a medium-severity denial of service vulnerability in Redhat Openshift Container Platform, published on 6 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-2253 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/docker/distribution (Go): affected all versions; fixed in 2.8.2-beta.1\n- github.com/docker/distribution (Go): affected all versions; fixed in 2.8.2-beta.1\n- github.com/distribution/distribution (Go): affected all versions; fixed in 2.8.2-beta.1+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-2023-2253/ (Markdown: https://insights.sbomify.com/CVE-2023-2253/index.md)","id":"CVE-2023-2253","markdown":"https://insights.sbomify.com/CVE-2023-2253/index.md","name":"CVE-2023-2253","record":{"aliases":["AZL-27020","AZL-27027","CLEANSTART-2026-JU66662","CLEANSTART-2026-SL35444","DEBIAN-CVE-2023-2253","DLA-3473-1","DSA-5414-1","GHSA-hqxw-f8mx-cpmw","GO-2023-1772","MGASA-2023-0207","MINI-qpmq-wjq3-v5r6","SUSE-SU-2023:2153-1","SUSE-SU-2023:2154-1","SUSE-SU-2023:2298-1","UBUNTU-CVE-2023-2253","openSUSE-SU-2024:12926-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Docker Registry","requires_auth":"low_privilege","summary":"An attacker can cause a denial of service by submitting an excessively large parameter to the catalog endpoint, leading to memory exhaustion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift_api_for_data_protection","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"openshift_developer_tools_and_services","vendor":"redhat"}],"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-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-475","name":"Undefined Behavior for Input to API"}],"description":"A flaw was found in the `/v2/_catalog` endpoint in distribution/distribution, which accepts a parameter to control the maximum number of records returned (query string: `n`). This vulnerability allows a malicious user to submit an unreasonably large value for `n,` causing the allocation of a massive string array, possibly causing a denial of service through excessive use of memory.","ecosystems":["Go","SUSE:Linux Enterprise Module for Containers 12","SUSE:Linux Enterprise Module for Containers 15 SP4","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"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":"distribution catalog API endpoint can lead to OOM via malicious user input","id":"CVE-2023-2253","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:openshift_container_platform","products":["redhat:openshift_container_platform"],"type":"denial_of_service","year":"2023"},"n_packages":9,"n_references":2,"next":{"headline":"Ko-fi Button \u003c 1.3.3 - Admin+ Stored XSS","id":"CVE-2023-2254"},"packages":[{"ecosystem":"Go","fixed":["2.8.2-beta.1+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution","purl":"pkg:golang/github.com/distribution/distribution","source":"GO-2023-1772"},{"ecosystem":"Go","fixed":["2.8.2-beta.1"],"introduced":["0"],"last_affected":[],"package":"github.com/docker/distribution","purl":null,"source":"GHSA-hqxw-f8mx-cpmw"},{"ecosystem":"Go","fixed":["2.8.2-beta.1"],"introduced":["0"],"last_affected":[],"package":"github.com/docker/distribution","purl":"pkg:golang/github.com/docker/distribution","source":"GHSA-hqxw-f8mx-cpmw"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["2.6.2-13.9.1"],"introduced":["0"],"last_affected":[],"package":"docker-distribution","purl":"pkg:rpm/suse/docker-distribution\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2023:2153-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["2.8.1-150400.9.18.1"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:rpm/suse/distribution\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:2154-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["2.8.2-150400.9.21.1"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:rpm/suse/distribution\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:2298-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.8.1-150400.9.18.1"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:rpm/opensuse/distribution\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:2154-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.8.2-150400.9.21.1"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:rpm/opensuse/distribution\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:2298-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.8.2-1.1"],"introduced":["0"],"last_affected":[],"package":"distribution-registry","purl":"pkg:rpm/opensuse/distribution-registry\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12926-1"}],"prev":{"headline":"Directorist \u003c 7.5.4 - Admin+ LFI","id":"CVE-2023-2252"},"products":["distribution/distribution"],"published":"2023-06-06","related":[],"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-01-07","vendors":["n/a"]},"summary":"An attacker can cause a denial of service by submitting an excessively large parameter to the catalog endpoint, leading to memory exhaustion.","url":"https://insights.sbomify.com/CVE-2023-2253/"}