CVEvulnerability

CVE-2022-31667

6.4 MEDIUM Published 2024-11-14 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-11-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
CVSS 3.1 ([email protected])
6.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
Weaknesses
CWE-285, CWE-863

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 configurations

• linuxfoundation harbor (>= 2.0.0 < 2.4.3) • linuxfoundation harbor (>= 2.5.0 < 2.5.2)

Related

Weakness · CWE (2)

  • CWE-285 Improper Authorization weakness
  • CWE-863 Incorrect Authorization weakness

References