CVE-2022-31667

Medium

Description

Harbor fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn’t have access to.  By sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions.

SeverityMedium
CVSS6.4
Exploit probability—
ProductLinuxfoundation Harbor
PublishedNov 14, 2024
First seenNov 14, 2024
Weakness typeCWE-285CWE-285

How to fix

Update
  • linuxfoundation harbor2.4.3, 2.5.2 or later
  • github.com/goharbor/harbor1.10.13, 2.4.3, 2.5.2 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation harbor2.0.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.22.4.3, 2.5.2
github.com/goharbor/harborGo1.0.0 ≤ v < 1.10.13, 2.0.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.21.10.13, 2.4.3, 2.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.