Skip to content
OpenAdvisories
High · 7.7 CVE-2022-31670 BIT-harbor-2022-31670EUVD-2022-6672GHSA-3637-v6vq-xqqw

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

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

Description

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

By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify
tag retention 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-3637-v6vq-xqqw
Go github.com/goharbor/harbor >= 2.0.0, < 2.4.3 2.4.3 GHSA-3637-v6vq-xqqw
Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2 GHSA-3637-v6vq-xqqw

References