Description
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241213T205935-1.1 | openSUSE-SU-2024:14599-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 | GHSA-r864-28pw-8682 |
| Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-r864-28pw-8682 |
| Go | github.com/goharbor/harbor | >= 2.0.0+incompatible, < 2.4.3+incompatible · >= 2.5.0+incompatible, < 2.5.2+incompatible | 2.4.3+incompatible, 2.5.2+incompatible | GO-2024-3268 |
| Go | github.com/goharbor/harbor/src | < 0.0.0-20220630175814-b4ef1db | 0.0.0-20220630175814-b4ef1db | GHSA-r864-28pw-8682 |
Advisories 1
- openSUSE-SU-2024:14599-1 govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026