CVE-2022-31666
MEDIUM 5.4CVSS 3.1Harbor fails to validate the user permissions when viewing Webhook policies
Harbor fails to validate user permissions while deleting Webhook policies, allowing malicious users to view, update and delete Webhook policies of other users. The attacker could modify Webhook policies configured in other projects.
- Published
- 14 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-285CWE-862
- Also known as
- BIT-harbor-2022-31666GHSA-8hwq-5f22-jfr3GHSA-jf8p-3vjh-pq94
- Sources
- NVDJSONOSV GHSA-jf8p-3vjh-pq94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.4.3 | 2.4.3 |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.5.2 | 2.5.2 |
| OSV | Go | github.com/goharbor/harbor | >= 1.0.0, < 1.10.13 | 1.10.13 |
| OSV | Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 |
| OSV | Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 |
References
- https://github.com/goharbor/harbor/security/advisories/GHSA-8hwq-5f22-jfr3 · Vendor Advisory, WEB
- https://github.com/goharbor/harbor/security/advisories/GHSA-jf8p-3vjh-pq94 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31666 · ADVISORY
- https://github.com/goharbor/harbor · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Sep 2022)