zot: Bearer authentication maps DELETE to push scope, allowing unauthorized deletion
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| project-zot | zot | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Project-zot | Zot |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qg67-7m6v-qg25 | zot: Bearer authentication maps DELETE to push scope, allowing unauthorized deletion |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.811% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Project-zot
Project-zot zot |
|
| Vendors & Products |
Project-zot
Project-zot zot |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | zot is a container image and artifact registry based on the Open Container Initiative Distribution Specification. Prior to 2.1.18, the bearer authentication handler in pkg/api/authn.go maps every HTTP method other than GET and HEAD to the push action, so DELETE requests are not checked for the distinct delete permission. Bearer-authenticated requests also bypass the fine-grained DistSpecAuthzHandler path in pkg/api/authz.go, while DeleteManifest and DeleteBlob perform no independent delete-permission check. A remote attacker with a bearer token limited to pull and push actions can therefore delete manifests and blobs within the token's repository scope, making images unavailable and allowing repository history to be altered despite the token lacking delete authorization. This issue is fixed in version 2.1.18. | |
| Title | zot: Bearer authentication maps DELETE to push scope, allowing unauthorized deletion | |
| Weaknesses | CWE-285 | |
| References |
| |
| Metrics |
cvssV3_1
|