goharbor/harbor · Security
Harbor fails to validate the user permissions when updating p2p preheat policies
- GHSA ID
- GHSA-r864-28pw-8682
- CVE ID
- CVE-2022-31668
- Severity
- high
- Published
- Updated
- CVSS
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- CVSS v3
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Description
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.
CWEs
- CWE-285 · Improper Authorization