CVEfocus › CVE database › CVE-2023-2253

CVE-2023-2253

CVSS 6.5 MediumEPSS 0.9% (higher than 58% of CVEs)Published 2023-06-06Updated 2025-01-07Assigner: redhat

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.

CWE-475

What to do

Fixed builds are available from Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10docker-registryNot affected
vulnerable_code_not_present
Ubuntu 24.04docker-registryNot affected
vulnerable_code_not_present
Ubuntu 22.04docker-registryFix pending2.8.0+ds1-4ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-2253
Ubuntu 20.04docker-registryFixed2.7.1+ds2-7ubuntu0.3UBUNTU-CVE-2023-2253
Ubuntu 18.04docker-registryFix pending2.6.2~ds1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2253
Ubuntu 16.04docker-registryFix pending2.3.0~ds1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2253
Debian 14docker-registryFixed2.8.2+ds1-1DEBIAN-CVE-2023-2253
Debian 13docker-registryFixed2.8.2+ds1-1DEBIAN-CVE-2023-2253
Debian 12docker-registryFixed2.8.2+ds1-1DEBIAN-CVE-2023-2253
Go librarygithub.com/distribution/distributionFixed2.8.2-beta.1+incompatibleGO-2023-1772
Go librarygithub.com/docker/distributionFixed2.8.2-beta.1GHSA-hqxw-f8mx-cpmw

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.