CVE-2023-2253 distribution catalog API endpoint can lead to OOM via malicious user input
MediumCVSS 6.5
EPSS 0.94%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- DockerUbuntuDebianRed Hat
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.
Upgrade path
15 packages: 12 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift api for data protection | All versions | No fix listed | No fix yet |
| redhat openshift developer tools and services | All versions | No fix listed | No fix yet |
| debian/docker-registry(Debian 12) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 | Fixed |
| debian/docker-registry(Debian 13) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 | Fixed |
| debian/docker-registry(Debian 14) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 | Fixed |
| distribution(Go) | < 2.8.2-beta.1+incompatible | 2.8.2-beta.1+incompatible | Fixed |
| docker github.com/docker/distribution(Go) | < 2.8.2-beta.1 | 2.8.2-beta.1 | Fixed |
| Microsoft azure linux | < 1.12.12-1; < 25.0.3-1 | 1.12.12-1, 25.0.3-1 | Fixed |
| Microsoft cbl mariner | < 1.11.2-14; < 2.17.3-5; < 3.13.2-1; < 20.10.27-1 | 1.11.2-14, 2.17.3-5, 3.13.2-1, 20.10.27-1 | Fixed |
| ubuntu/docker-registry(Ubuntu 20.04) | < 2.7.1+ds2-7ubuntu0.3; = 2.6.2~ds1-2; = 2.7.1+ds2-5; = 2.7.1+ds2-7 +5 more | 2.7.1+ds2-7ubuntu0.3 | Fixed |
| ubuntu/docker-registry(Ubuntu 22.04) | < 2.8.0+ds1-4ubuntu0.1~esm2 | 2.8.0+ds1-4ubuntu0.1~esm2 | Fixed |
| ubuntu/docker-registry(Ubuntu Pro 16.04) | < 2.3.0~ds1-1ubuntu0.1~esm1; = 2.1.1~ds1-4; = 2.1.1~ds1-4ubuntu1; = 2.3.0~ds1-1 | 2.3.0~ds1-1ubuntu0.1~esm1 | Fixed |
| ubuntu/docker-registry(Ubuntu Pro 18.04) | < 2.6.2~ds1-1ubuntu0.1~esm1; = 2.6.2~ds1-1 | 2.6.2~ds1-1ubuntu0.1~esm1 | Fixed |
| ubuntu/docker-registry(Ubuntu Pro 22.04) | < 2.8.0+ds1-4ubuntu0.1~esm2; = 2.7.1+ds2-7build2; = 2.8.0+ds1-4; = 2.8.0+ds1-4ubuntu0.1~esm1 | 2.8.0+ds1-4ubuntu0.1~esm2 | Fixed |
| redhat openshift container platform | = 4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| docker github.com/docker/distribution(Go) | < 2.8.2-beta.1 | 2.8.2-beta.1 |
| distribution(Go) | < 2.8.2-beta.1+incompatible | 2.8.2-beta.1+incompatible |
| Microsoft cbl mariner | < 1.11.2-14 | 1.11.2-14 |
| Microsoft cbl mariner | < 3.13.2-1 | 3.13.2-1 |
| Microsoft cbl mariner | < 20.10.27-1 | 20.10.27-1 |
| Microsoft cbl mariner | < 2.17.3-5 | 2.17.3-5 |
| Microsoft azure linux | < 1.12.12-1 | 1.12.12-1 |
| Microsoft azure linux | < 25.0.3-1 | 25.0.3-1 |
| debian/docker-registry(Debian:12) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 |
| debian/docker-registry(Debian:13) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 |
| debian/docker-registry(Debian:14) | < 2.8.2+ds1-1 | 2.8.2+ds1-1 |
| ubuntu/docker-registry(Ubuntu:22.04) | < 2.8.0+ds1-4ubuntu0.1~esm2 | 2.8.0+ds1-4ubuntu0.1~esm2 |
| redhat openshift api for data protection | All versions | No fix listed |
| redhat openshift container platform | = 4.0 | No fix listed |
| redhat openshift developer tools and services | All versions | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:16.04) | < 2.3.0~ds1-1ubuntu0.1~esm1 | 2.3.0~ds1-1ubuntu0.1~esm1 |
| ubuntu/docker-registry(Ubuntu:Pro:16.04) | = 2.1.1~ds1-4 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:16.04) | = 2.1.1~ds1-4ubuntu1 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:16.04) | = 2.3.0~ds1-1 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:18.04) | < 2.6.2~ds1-1ubuntu0.1~esm1 | 2.6.2~ds1-1ubuntu0.1~esm1 |
| ubuntu/docker-registry(Ubuntu:Pro:18.04) | = 2.6.2~ds1-1 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | < 2.7.1+ds2-7ubuntu0.3 | 2.7.1+ds2-7ubuntu0.3 |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.6.2~ds1-2 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1~ds1-2 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1~ds1-3 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1~ds1-4 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1+ds2-5 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1+ds2-7 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1+ds2-7ubuntu0.1 | No fix listed |
| ubuntu/docker-registry(Ubuntu:20.04) | = 2.7.1+ds2-7ubuntu0.2 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:22.04) | < 2.8.0+ds1-4ubuntu0.1~esm2 | 2.8.0+ds1-4ubuntu0.1~esm2 |
| ubuntu/docker-registry(Ubuntu:Pro:22.04) | = 2.7.1+ds2-7build2 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:22.04) | = 2.8.0+ds1-4 | No fix listed |
| ubuntu/docker-registry(Ubuntu:Pro:22.04) | = 2.8.0+ds1-4ubuntu0.1~esm1 | No fix listed |
References
- github.com issue-tracking vendor-advisory
- github.com patch
- cert-manager third-party-advisory vendor-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- [debian-lts-announce] 20230629 [SECURITY] [DLA 3473-1] docker-registry security update mailing-list
- github.com vendor-advisory
- github.com product
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2023-2253 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6336-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking
- www.openwall.com issue-tracking