Go Vulnerability Database
GO-2024-3268
Harbor fails to validate the user permissions when updating p2p preheat policies in github.com/goharbor/harbor
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/goharbor/harbor | From 2.0.0+incompatible before 2.4.3+incompatible (fixed in 2.4.3+incompatible) From 2.5.0+incompatible before 2.5.2+incompatible (fixed in 2.5.2+incompatible) |