7.4high
User permission validation failure and disclosure of P2P preheat execution logs
- Severity
- 7.4high CVSS:3.1 by vmware
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-r864-28pw-8682BIT-HARBOR-2022-31668GHSA-3wpx-625q-22j7GO-2024-3268
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 | CVE List |
| github.com/goharbor/harbor (Go) | from 2.0.0 before 2.4.3, from 2.5.0 before 2.5.2, from 2.0.0+incompatible before 2.4.3+incompatible, from 2.5.0+incompatible before 2.5.2+incompatible | GitHub Advisory Database, Go Vulnerability Database |
| github.com/goharbor/harbor/src (Go) | before 0.0.0-20220630175814-b4ef1db | GitHub Advisory Database |
| linuxfoundation harbor | from 2.0.0 before 2.4.3, from 2.5.0 before 2.5.2 | NVD |
| harbor (Bitnami) | from 2.0.0 before 2.4.3, from 2.5.0 before 2.5.2 | Bitnami Vulnerability Database |
All scores
| vmware | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| NVD | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Harbor no puede validar los permisos de usuario al actualizar las políticas de precalentamiento P2P. Al enviar una solicitud para actualizar una política de precalentamiento P2P con un ID que pertenece a un proyecto al que el usuario autenticado actualmente no tiene acceso, el atacante podría modificar las políticas de precalentamiento P2P configuradas en otros proyectos.
References
| https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31668 | advisory, web | |
| https://github.com/goharbor/harbor | package | |
| https://pkg.go.dev/vuln/GO-2024-3268 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31668 changed 2024-11-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r864-28pw-8682 changed 2024-12-12 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3268 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-31668 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HARBOR-2022-31668 changed 2026-09-08 | Apache-2.0 |