github.com/goharbor/harbor
Affected
- introduced
2.0.0, fixed2.4.3(semver)
Fixed versions
2.4.3
Fix
- Fixed version
2.4.3go get github.com/goharbor/[email protected]
Advisory
Also known as: BIT-harbor-2022-31668, CVE-2022-31668, GHSA-3wpx-625q-22j7, GO-2024-3268
Harbor fails to validate the user permissions when updating p2p preheat policies
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.
High Basis: The source's own band: HIGH
2.0.0, fixed 2.4.3 (semver)2.4.3
2.4.3go get github.com/goharbor/[email protected]2.5.0, fixed 2.5.2 (semver)2.5.2
2.5.2go get github.com/goharbor/[email protected]0, fixed 0.0.0-20220630175814-b4ef1db (semver)0.0.0-20220630175814-b4ef1db
0.0.0-20220630175814-b4ef1dbgo get github.com/goharbor/harbor/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0