Improper Authorization Affecting github.com/goharbor/harbor/src/server/v2.0/handler package, versions <2.5.2-rc1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCSERVERV20HANDLER-8383141
  • published 17 Nov 2024
  • disclosed 14 Nov 2024
  • credit Gal Goldstein and Daniel Abeles

How to fix?

Upgrade github.com/goharbor/harbor/src/server/v2.0/handler to version 2.5.2-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization where an attacker can modify P2P preheat policies configured in other projects by sending a request with an ID that belongs to a project to which the currently authenticated user does not have access.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    Low
  • Availability (SA)
    Low