Description
Harbor fails to validate the user permissions when updating tag retention policies.
By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify
tag retention policies configured in other projects.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor | >= 1.0.0, < 1.10.13 | 1.10.13 | GHSA-3637-v6vq-xqqw |
| Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 | GHSA-3637-v6vq-xqqw |
| Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-3637-v6vq-xqqw |