Allocation of Resources Without Limits or Throttling Affecting docker-registry package, versions <2.7.1+ds2-7ubuntu0.3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.94% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-DOCKERREGISTRY-5519257
  • published11 May 2023
  • disclosed6 Jun 2023

Introduced: 11 May 2023

CVE-2023-2253  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 docker-registry to version 2.7.1+ds2-7ubuntu0.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-registry package and not the docker-registry package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1