LowGO-2021-0072CVE-2017-11468GHSA-h62f-wm92-2cmw

Uncontrolled resource allocation in github.com/docker/distribution

Published 14 Apr 2021 · Updated 20 May 2024

Is your project on an affected github.com/docker/distribution?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<2.7.0-rc.0+incompatible
Fixed in
2.7.0-rc.0+incompatible
Update to the fixed version for your release line, for example:go get github.com/docker/distribution@v2.7.0-rc.0+incompatible

Details

Various storage methods do not impose limits on how much content is accepted from user requests, allowing a malicious user to force the caller to allocate an arbitrary amount of memory.

Is GO-2021-0072 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/docker/distribution, and gives you the command that fixes it.

More advisories for github.com/docker/distribution

  • LowCVE-2026-85747Distribution: Client does not verify returned content against requested digest in github.com/distribution/distribution · 5 Nov 2026
  • MediumCVE-2026-85747Distribution: Client `manifests.Get()` does not verify returned content against requested digest · 15 Oct 2026
  • HighCVE-2023-2253distribution catalog API endpoint can lead to OOM via malicious user input · 11 May 2023
  • LowGO-2022-0379Type confusion in github.com/docker/distribution · 29 Jul 2022
  • LowGHSA-qq97-vm5h-rrhgOCI Manifest Type Confusion Issue · 8 Feb 2022
github.com/docker/distribution security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.