Skip to main content
← All vulnerabilities
CVE-2022-31670GHSA-3637-V6VQ-XQQWBIT-HARBOR-2022-31670

Harbor fails to validate the user permissions when updating tag retention policies

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 tag retention policies.  By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify tag retention policies configured in other projects.

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