diff options
| author | Narpat Mali <narpat.mali@windriver.com> | 2023-07-24 08:43:18 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-07-25 14:53:03 -0400 |
| commit | af74c007c8b5e287703c8daa0ca803d5f4b1430c (patch) | |
| tree | 652a84a6e40b8308732698c4698ef2ffd8411a33 /recipes-containers/docker-distribution/docker-distribution_git.bb | |
| parent | 84f5cb62de4c639817ebd5534d240b9cf78a1b32 (diff) | |
| download | meta-virtualization-af74c007c8b5e287703c8daa0ca803d5f4b1430c.tar.gz | |
docker-distribution: fix for CVE-2023-2253
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.
References:
https://github.com/distribution/distribution/security/advisories/GHSA-hqxw-f8mx-cpmw
https://github.com/distribution/distribution/commit/521ea3d973cb0c7089ebbcdd4ccadc34be941f54
Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker-distribution/docker-distribution_git.bb')
| -rw-r--r-- | recipes-containers/docker-distribution/docker-distribution_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index 86fcd628..bca41397 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb | |||
| @@ -7,6 +7,7 @@ SRCREV_distribution= "dc5b207fdd294c57dfef59017df60088b27d2668" | |||
| 7 | SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.8;name=distribution;destsuffix=git/src/github.com/docker/distribution;protocol=https \ | 7 | SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.8;name=distribution;destsuffix=git/src/github.com/docker/distribution;protocol=https \ |
| 8 | file://docker-registry.service \ | 8 | file://docker-registry.service \ |
| 9 | file://0001-build-use-to-use-cross-go-compiler.patch \ | 9 | file://0001-build-use-to-use-cross-go-compiler.patch \ |
| 10 | file://0001-Fix-runaway-allocation-on-v2-_catalog.patch \ | ||
| 10 | " | 11 | " |
| 11 | 12 | ||
| 12 | PACKAGES =+ "docker-registry" | 13 | PACKAGES =+ "docker-registry" |
