GHSA-r864-28pw-8682

Suggest an improvement
Source
https://github.com/advisories/GHSA-r864-28pw-8682
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r864-28pw-8682
Aliases
Published
2024-11-14T12:31:02Z
Modified
2024-11-20T07:57:11.039283Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
Summary
Harbor fails to validate the user permissions when updating p2p preheat policies
Details

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.

References

Affected packages

Go / github.com/goharbor/harbor

Package

Name
github.com/goharbor/harbor
View open source insights on deps.dev
Purl
pkg:golang/github.com/goharbor/harbor

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.4.3

Go / github.com/goharbor/harbor

Package

Name
github.com/goharbor/harbor
View open source insights on deps.dev
Purl
pkg:golang/github.com/goharbor/harbor

Affected ranges

Type
SEMVER
Events
Introduced
2.5.0
Fixed
2.5.2

Go / github.com/goharbor/harbor/src

Package

Name
github.com/goharbor/harbor/src
View open source insights on deps.dev
Purl
pkg:golang/github.com/goharbor/harbor/src

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20220630175814-b4ef1db