Distribution: Tag deletion bypasses `storage.delete.enabled` configuration
distribution
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/distribution/distribution/v3 Go |
|
|
| github.com/distribution/distribution Go |
| No fix yet |
distribution
| Product | Affected | Fixed in |
|---|---|---|
| github.com/distribution/distribution/v3 Go |
|
|
| github.com/distribution/distribution Go |
| No fix yet |
Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.1, tag deletion via the DELETE /v2/<name>/manifests/<tag> endpoint bypasses the storage.delete.enabled: false configuration, allowing any API client to remove tags from repositories even when the operator has explicitly disabled deletion. This vulnerability is fixed in 3.1.1.
From the CVE record · GitHub_M
In distribution before 3.1.1, the tag-deletion API endpoint ignores the storage.delete.enabled: false setting. Any API client able to call the endpoint can remove repository tags despite deletion being disabled; no user interaction is described.
Operators running Go package github.com/distribution/distribution/v3 before 3.1.1 or github.com/distribution/distribution at version 2.8.3 or earlier should check their deployments.