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.
https://lists.debian.org/debian-lts-announce/2023/06/msg00035.html
Published: 2023-06-06
Updated: 2026-06-17
Named Vulnerability: GO-2023-1772Named Vulnerability: GHSA-hqxw-f8mx-cpmw
Base Score: 6.8
Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C
Severity: Medium
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity: Medium
EPSS: 0.00938