CVE-2022-31667

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

Published Nov 14, 2024 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6985 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.
Github GHSA Github GHSA GHSA-xx9w-464f-7h6f Harbor fails to validate the user permissions when updating a robot account
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation harbor
Weaknesses CWE-863
CPEs cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation harbor
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Harbor fails to validate the user permissions when updating a robot account
Weaknesses CWE-285
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Nov 14, 2024, 2:11 PM
Reserved
May 25, 2022, 11:31 PM
Status
Analyzed
Published
Nov 14, 2024, 12:15 PM
Modified
Jun 17, 2026, 4:46 AM