Skip to content
OpenAdvisories
Medium · 6.4 CVE-2022-31669 BIT-harbor-2022-31669EUVD-2022-6741GHSA-8c6p-v837-77f6

Harbor fails to validate the user permissions when updating tag immutability policies

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

Description

Harbor fails to validate the user permissions when updating tag immutability policies. 

By sending a request to update a tag immutability policy with an id that belongs to a
project that the currently authenticated user doesn’t have access to, the attacker could
modify tag immutability policies configured in other projects.

Affected products

VendorProductAffectedFixed
— Harbor Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/goharbor/harbor >= 1.0.0, < 1.10.13 1.10.13 GHSA-8c6p-v837-77f6
Go github.com/goharbor/harbor >= 2.0.0, < 2.4.3 2.4.3 GHSA-8c6p-v837-77f6
Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2 GHSA-8c6p-v837-77f6

References