Skip to content
CVE PROGRAM SOURCE RECORD6.4 Medium

CVE-2022-31667

Harbor fails to validate the user permissions when updating a robot account

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a Harbor

Default version status: unaffected

  • Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1affected

References