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. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

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 Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCSERVERV20HANDLER-8383141
  • published17 Nov 2024
  • disclosed14 Nov 2024
  • creditGal Goldstein and Daniel Abeles

Introduced: 14 Nov 2024

CVE-2022-31668  (opens in a new tab)
CWE-285  (opens in a new tab)

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 Base Scores

version 4.0
version 3.1