~ / search / GHSA-r864-28pw-8682

GHSA-r864-28pw-8682

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

Source: GitHub Advisory Database (reviewed) High CVE-2022-31668

Packages

EcosystemPackageAffectedFixed in
Go github.com/goharbor/harbor >= 2.0.0, < 2.4.3 2.4.3
Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2
Go github.com/goharbor/harbor/src < 0.0.0-20220630175814-b4ef1db 0.0.0-20220630175814-b4ef1db

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.