cve.bz

CVE-2023-2253 redhat: Undefined Behavior for Input to API

6.5 mediumEPSS 0.9%Fix available

Medium (6.5) in redhat. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/docker/distribution 2.8.2-beta.1.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-770 Allocation of Resources Without Limits or Throttling
CWE-475 Undefined Behavior for Input to API
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/docker/distribution (Go): fixed in 2.8.2-beta.1
  • github.com/distribution/distribution (Go): fixed in 2.8.2-beta.1+incompatible
  • Debian, Ubuntu, SUSE, openSUSE, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-2253 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2253?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2253?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2253 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift_container_platform4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hqxw-f8mx-cpmwGogithub.com/docker/distribution<2.8.2-beta.12.8.2-beta.1
GO-2023-1772Gogithub.com/distribution/distribution<2.8.2-beta.1+incompatible2.8.2-beta.1+incompatible

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10docker-registry2.6.2~ds1-2+deb10u1DLA-3473-1
Debian11docker-registry2.7.1+ds2-7+deb11u1DSA-5414-1
Debian12, 13, 14docker-registry2.8.2+ds1-1DEBIAN-CVE-2023-2253
Ubuntu20.04:LTSdocker-registry2.7.1+ds2-7ubuntu0.3UBUNTU-CVE-2023-2253 USN-6336-1
UbuntuPro:16.04:LTSdocker-registry2.3.0~ds1-1ubuntu0.1~esm1UBUNTU-CVE-2023-2253 USN-6336-1
UbuntuPro:18.04:LTSdocker-registry2.6.2~ds1-1ubuntu0.1~esm1UBUNTU-CVE-2023-2253 USN-6336-1
UbuntuPro:22.04:LTSdocker-registry2.8.0+ds1-4ubuntu0.1~esm2UBUNTU-CVE-2023-2253 USN-6336-1
SUSELinux Enterprise Module for Containers 12docker-distribution2.6.2-13.9.1SUSE-SU-2023:2153-1
SUSELinux Enterprise Module for Containers 15 SP4distribution2.8.1-150400.9.18.1SUSE-SU-2023:2154-1
SUSELinux Enterprise Module for Containers 15 SP4distribution2.8.2-150400.9.21.1SUSE-SU-2023:2298-1
openSUSELeap 15.4distribution2.8.1-150400.9.18.1SUSE-SU-2023:2154-1
openSUSELeap 15.4distribution2.8.2-150400.9.21.1SUSE-SU-2023:2298-1
openSUSETumbleweeddistribution-registry2.8.2-1.1openSUSE-SU-2024:12926-1
Azure Linux2cert-manager1.11.2-14AZL-27020
Azure Linux2helm3.13.2-1AZL-27027

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OADP-1.1-RHEL-8oadp/oadp-velero-plugin-rhel8:1.1.6-5Fixed 2023-09-20RHSA-2023:5314
Red Hat OpenShift Container Platform 4.11openshift4/ose-docker-registry:v4.11.0-202310101543.p0.g431737b.assembly.streamFixed 2023-10-18RHSA-2023:5697
Red Hat OpenShift Container Platform 4.12openshift4/ose-docker-registry:v4.12.0-202309261625.p0.g9e75355.assembly.streamFixed 2023-10-04RHSA-2023:5390
Red Hat OpenShift Container Platform 4.13openshift4/ose-docker-registry:v4.13.0-202309120502.p0.gdb5611b.assembly.streamFixed 2023-09-19RHSA-2023:5155
OpenShift Developer Tools and ServiceshelmAffected
Red Hat OpenShift Container Platform 4openshift4/ose-consoleWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-openshift-apiserver-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2253.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON