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

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-GITHUBCOMGOHARBORHARBORSRCPKGP2PPREHEATDAOINSTANCE-8383140
  • published 17 Nov 2024
  • disclosed 14 Nov 2024
  • credit Gal Goldstein and Daniel Abeles

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
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)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    None
  • Availability (SA)
    None