Skip to content

CVE-2022-31669 Harbor fails to validate the user permissions when updating tag immutability policies

HighCVSS 7.7 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, < 1.10.13; >= 1.0.0, <= 1.10.12; >= 2.0.0, < 2.4.3; >= 2.0.0, <= 2.4.2 +2 more 1.10.13, 2.4.3, 2.5.2 Fixed
linuxfoundation harbor >= 2.0.0, < 2.4.3; >= 2.5.0, < 2.5.2 2.4.3, 2.5.2 Fixed

Affected products

ProductAffected versionsFixed in
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, < 1.10.13 1.10.13
goharbor github.com/goharbor/harbor(Go) >= 2.0.0, < 2.4.3 2.4.3
goharbor github.com/goharbor/harbor(Go) >= 2.5.0, < 2.5.2 2.5.2
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, <= 1.10.12 No fix listed
goharbor github.com/goharbor/harbor(Go) >= 2.0.0, <= 2.4.2 No fix listed
goharbor github.com/goharbor/harbor(Go) >= 2.5.0, <= 2.5.1 No fix listed
linuxfoundation harbor >= 2.0.0, < 2.4.3 2.4.3
linuxfoundation harbor >= 2.5.0, < 2.5.2 2.5.2

References