CVE-2022-31667

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

State
Published
Severity
6.4 Medium
Published
Nov 14, 2024
Updated
Nov 14, 2024
Reserved
May 25, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:Lvmware

Weaknesses

Affected Products

ProductVersions
Harborn/a
  • Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.