CVE-2023-2253
MEDIUM 6.5CVSS 3.1distribution catalog API endpoint can lead to OOM via malicious user input
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.
- Published
- 6 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-475CWE-770
- Also known as
- GHSA-hqxw-f8mx-cpmwGO-2023-1772
- Sources
- NVDJSONOSV GHSA-hqxw-f8mx-cpmwJSONOSV GO-2023-1772JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | openshift_api_for_data_protectioncpe:2.3:a:redhat:openshift_api_for_data_protection:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | openshift_developer_tools_and_servicescpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | github.com/docker/distribution | < 2.8.2-beta.1 | 2.8.2-beta.1 |
| OSV | Go | github.com/distribution/distribution | < 2.8.2-beta.1+incompatible | 2.8.2-beta.1+incompatible |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2189886 · Issue Tracking, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/06/msg00035.html · WEB
- https://github.com/distribution/distribution/security/advisories/GHSA-hqxw-f8mx-cpmw · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-2253 · ADVISORY
- https://github.com/distribution/distribution/commit/f55a6552b006a381d9167e328808565dd2bf77dc · WEB, FIX
- https://github.com/distribution/distribution · PACKAGE
- https://github.com/advisories/GHSA-hqxw-f8mx-cpmw · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Jun 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 May 2023)