Improper Authorization Affecting github.com/goharbor/harbor/src/pkg/p2p/preheat/dao/instance 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.04% (16th 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 IDSNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCPKGP2PPREHEATDAOINSTANCE-8383140
  • published17 Nov 2024
  • disclosed14 Nov 2024
  • creditGal Goldstein and Daniel Abeles

Introduced: 14 Nov 2024

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

How to fix?

Upgrade github.com/goharbor/harbor/src/pkg/p2p/preheat/dao/instance to version 2.5.2-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization due to improper validation of user permissions when reading job execution logs through the P2P preheat execution logs. This is by sending a request that attempts to read P2P preheat execution logs while specifying different job IDs.

References

CVSS Scores

version 4.0
version 3.1