GO-2021-0072

Source
https://pkg.go.dev/vuln/GO-2021-0072
Import Source
https://vuln.go.dev/ID/GO-2021-0072.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0072
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Uncontrolled resource allocation in github.com/docker/distribution
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0072"
}
References

Affected packages

Go / github.com/docker/distribution

Package

Name
github.com/docker/distribution
View open source insights on deps.dev
Purl
pkg:golang/github.com/docker/distribution

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-rc.0+incompatible

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/docker/distribution/registry/handlers",
            "symbols": [
                "App.ServeHTTP",
                "NewApp",
                "blobUploadHandler.PatchBlobData",
                "blobUploadHandler.PutBlobUploadComplete",
                "catalogHandler.GetCatalog",
                "copyFullPayload",
                "imageManifestHandler.GetImageManifest",
                "imageManifestHandler.PutImageManifest"
            ]
        },
        {
            "path": "github.com/docker/distribution/registry/storage",
            "symbols": [
                "PurgeUploads",
                "Walk",
                "blobStore.Enumerate",
                "blobStore.Get",
                "linkedBlobStore.Enumerate",
                "linkedBlobStore.Get",
                "manifestStore.Enumerate",
                "manifestStore.Get",
                "registry.Enumerate",
                "registry.Repositories"
            ]
        }
    ]
}