ADVISORIES

GitHub Advisory Database

GHSA-r864-28pw-8682

Harbor fails to validate the user permissions when updating p2p preheat policies

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

EcosystemPackageAffected versions
Gogithub.com/goharbor/harbor
From 2.0.0 before 2.4.3 (fixed in 2.4.3)
Gogithub.com/goharbor/harbor
From 2.5.0 before 2.5.2 (fixed in 2.5.2)
Gogithub.com/goharbor/harbor/src
All versions before 0.0.0-20220630175814-b4ef1db (fixed in 0.0.0-20220630175814-b4ef1db)

References