CVE-2023-2253
distribution catalog API endpoint can lead to OOM via malicious user input
Reported by redhat · Published June 6, 2023
github.com/docker/distribution is fixed in 2.8.2-beta.1 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/docker/distribution | Go Modules | 2.8.2-beta.1 |
| goreleaser-1.18 | Wolfi | 1.18.2-r12 |
| traefik | Chainguard | 2.10.1-r2 |
| argocd-image-updater | Chainguard | 0.17.0-r1 |
| kpt | Chainguard | 1.0.0_beta31-r5 |
| bom | Chainguard | 0.6.0-r0 |
| flux-image-reflector-controller-0 | Chainguard | 0.26.1-r3 |
| kubernetes-dashboard | Chainguard | 2.7.0-r2 |
| aactl | Chainguard | 0.4.12-r7 |
| argocd-image-updater | Wolfi | 0.17.0-r1 |
| prometheus-2.38 | Chainguard | 2.38.0-r7 |
| goreleaser-1.18 | Chainguard | 1.18.2-r12 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | distribution/distribution | NA |
| wolfi | goreleaser-1.18 | 0 |
| chainguard | traefik | 0 |
| chainguard | argocd-image-updater | 0 |
| chainguard | kpt | 0 |
| chainguard | bom | 0 |
| chainguard | flux-image-reflector-controller-0 | 0 |
| chainguard | kubernetes-dashboard | 0 |
| chainguard | prometheus-fips-2.38 | * |
| chainguard | aactl | 0 |
| wolfi | argocd-image-updater | 0 |
| chainguard | prometheus-2.38 | 0 |
| chainguard | goreleaser-1.18 | 0 |
| chainguard | kubernetes-fips-1.27 | 0 |
| n/a | distribution/distribution | * |
| github.com | docker/distribution | 0 |
| chainguard | flux-helm-controller-0.37 | 0 |
| wolfi | bom | 0 |
| chainguard | argocd-image-updater-fips | 0 |
| wolfi | traefik | 0 |
…and 4 more
Timeline
- May 9, 2023 CVE Published
- Jun 7, 2023 EPSS Score (30 in total, the first dated here)
- Oct 18, 2023 CVE Updated
- May 18, 2026 Coalition ESS Score
- Jun 1, 2026 Security Advisory (5 in total, the first dated here)
- Oct 21, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-2253
vulnetix vdb fixes CVE-2023-2253
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-2253/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20230629 [SECURITY] [DLA 3473-1] docker-registry security update mailing-list
- https://github.com/distribution/distribution/security/advisories/GHSA-hqxw-f8mx-cpmw url
- https://github.com/distribution/distribution/commit/f55a6552b006a381d9167e328808565dd2bf77dc patch
- https://github.com/advisories/GHSA-hqxw-f8mx-cpmw advisory