Description
Harbor fails to validate the user permissions when updating tag immutability policies.
By sending a request to update a tag immutability policy with an id that belongs to a
project that the currently authenticated user doesn’t have access to, the attacker could
modify tag immutability 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-8c6p-v837-77f6 |
| Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 | GHSA-8c6p-v837-77f6 |
| Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-8c6p-v837-77f6 |