Skip to main content
← All vulnerabilities
CVE-2022-31667GHSA-XX9W-464F-7H6FBIT-HARBOR-2022-31667

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.10.13, 2.4.3, 2.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a Harbor

    Version range not reported

  • github.com/goharbor/harborGo

    From 1.0.0 · fixed in 1.10.13

  • github.com/goharbor/harborGo

    From 2.0.0 · fixed in 2.4.3

  • github.com/goharbor/harborGo

    From 2.5.0 · fixed in 2.5.2

References 1

GitHub · goharbor/harbor