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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | distribution/distribution | NA | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker-registry | 2.8.2+ds1-1 | — |
| Debian 13 | docker-registry | 2.8.2+ds1-1 | — |
| Debian 12 | docker-registry | 2.8.2+ds1-1 | — |
| Debian 11 | docker-registry | 2.7.1+ds2-7+deb11u1 | DSA-5414-1 |
| Debian 10 | docker-registry | 2.6.2~ds1-2+deb10u1 | DLA-3473-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | docker-registry | 2.7.1+ds2-7ubuntu0.3 | USN-6336-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | docker-registry | 2.8.0+ds1-4ubuntu0.1~esm2 | USN-6336-1 |
| Ubuntu Pro 18.04 LTS | docker-registry | 2.6.2~ds1-1ubuntu0.1~esm1 | USN-6336-1 |
| Ubuntu Pro 16.04 LTS | docker-registry | 2.3.0~ds1-1ubuntu0.1~esm1 | USN-6336-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | distribution | 2.8.1-150400.9.18.1 | SUSE-SU-2023:2298-1, SUSE-SU-2023:2154-1 |
| SLES 12 | docker-distribution | 2.6.2-13.9.1 | SUSE-SU-2023:2153-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | distribution-registry | 2.8.2-1.1 | openSUSE-SU-2024:12926-1 |
| openSUSE Leap 15.4 | distribution | 2.8.1-150400.9.18.1 | SUSE-SU-2023:2298-1, SUSE-SU-2023:2154-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | cert-manager | 1.11.2-14 | — |
| Azure Linux 2 (CBL-Mariner) | helm | 3.13.2-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | aactl | 0.4.12-r7 | — |
| Wolfi rolling | argocd-image-updater | 0.17.0-r1 | — |
| Wolfi rolling | bom | 0.6.0-r0 | — |
| Wolfi rolling | kpt | 1.0.0_beta31-r5 | — |
| Wolfi rolling | kubernetes-dashboard | 2.7.0-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/distribution/distribution | < 2.8.2-beta.1+incompatible | 2.8.2-beta.1+incompatible | GO-2023-1772 |
| Go | github.com/docker/distribution | < 2.8.2-beta.1 | 2.8.2-beta.1 | GHSA-hqxw-f8mx-cpmw |
Advisories 9
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-6336-1 docker-registry vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5414-1 docker-registry - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3473-1 docker-registry - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:12926-1 distribution-registry-2.8.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2154-1 Security update for distribution SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2153-1 Security update for docker-distribution SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2298-1 Security update for distribution SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2388 Red Hat OpenShift: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 18, 2023