Ubuntu CVE Tracker
UBUNTU-CVE-2023-2253
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | docker-registry | All versions before 2.3.0~ds1-1ubuntu0.1~esm1 (fixed in 2.3.0~ds1-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | docker-registry | All versions before 2.6.2~ds1-1ubuntu0.1~esm1 (fixed in 2.6.2~ds1-1ubuntu0.1~esm1) |
| Ubuntu:20.04:LTS | docker-registry | All versions before 2.7.1+ds2-7ubuntu0.3 (fixed in 2.7.1+ds2-7ubuntu0.3) |
| Ubuntu:Pro:22.04:LTS | docker-registry | All versions before 2.8.0+ds1-4ubuntu0.1~esm2 (fixed in 2.8.0+ds1-4ubuntu0.1~esm2) |
References
- https://ubuntu.com/security/CVE-2023-2253
- https://github.com/distribution/distribution/commit/521ea3d973cb0c7089ebbcdd4ccadc34be941f54
- https://www.openwall.com/lists/oss-security/2023/05/09/1
- https://github.com/distribution/distribution/security/advisories/GHSA-hqxw-f8mx-cpmw
- https://ubuntu.com/security/notices/USN-6336-1
- https://www.cve.org/CVERecord?id=CVE-2023-2253