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.
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1", "binary_name": "docker-registry" }, { "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1", "binary_name": "docker-registry-dbgsym" }, { "binary_version": "2.3.0~ds1-1ubuntu0.1~esm1", "binary_name": "golang-github-docker-distribution-dev" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1", "binary_name": "docker-registry" }, { "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1", "binary_name": "docker-registry-dbgsym" }, { "binary_version": "2.6.2~ds1-1ubuntu0.1~esm1", "binary_name": "golang-github-docker-distribution-dev" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.7.1+ds2-7ubuntu0.3", "binary_name": "docker-registry" }, { "binary_version": "2.7.1+ds2-7ubuntu0.3", "binary_name": "docker-registry-dbgsym" }, { "binary_version": "2.7.1+ds2-7ubuntu0.3", "binary_name": "golang-github-docker-distribution-dev" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2", "binary_name": "docker-registry" }, { "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2", "binary_name": "docker-registry-dbgsym" }, { "binary_version": "2.8.0+ds1-4ubuntu0.1~esm2", "binary_name": "golang-github-docker-distribution-dev" } ] }