Skip to main content
← All vulnerabilities
CVE-2022-31668GHSA-R864-28PW-8682BIT-HARBOR-2022-31668GHSA-3WPX-625Q-22J7GO-2024-3268

User permission validation failure and disclosure of P2P preheat execution logs

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

Summary

Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat 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 2.0.0 · fixed in 2.4.3

  • github.com/goharbor/harborGo

    From 2.5.0 · fixed in 2.5.2

  • github.com/goharbor/harbor/srcGo

    fixed in 0.0.0-20220630175814-b4ef1db

  • github.com/goharbor/harborGo

    From 2.0.0+incompatible · fixed in 2.4.3+incompatible; From 2.5.0+incompatible · fixed in 2.5.2+incompatible

References 1

GitHub · goharbor/harbor