Skip to content
OpenAdvisories
High · 7.4 CVE-2022-31668 BIT-harbor-2022-31668EUVD-2024-3308GHSA-3wpx-625q-22j7GHSA-r864-28pw-8682GO-2024-3268

User permission validation failure and disclosure of P2P preheat execution logs

Published Nov 14, 2024 · Updated Nov 14, 2024 · Assigned by vmware

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Affected packages

EcosystemPackageAffectedFixedRecord
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

References