CVE-2022-31666 json
Harbor fails to validate user permissions while Viewing, updating and deleting Webhook policies
published 4y ago modified last mo. also BIT-harbor-2022-31666 , EUVD-2022-6853 , GHSA-8hwq-5f22-jfr3 , GHSA-jf8p-3vjh-pq94
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/goharbor/harbor 1.10.13, 2.4.3, 2.5.2
- bitnami harbor 2.4.3, 2.5.2
- linuxfoundation harbor 2.4.3, 2.5.2
Is CVE-2022-31666 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/goharbor/harbor | >=1.0.0, <1.10.13 >=2.0.0, <2.4.3 >=2.5.0, <2.5.2 |
1.10.13 2.4.3 2.5.2 |
| bitnami | harbor | >=2.0.0, <2.4.3 >=2.5.0, <2.5.2 |
2.4.3 2.5.2 |
Affected products
- n/a Harbor
Classification
References
-
github.com
/goharbor/harbor/security/advisories/GHSA-8hwq-5f22-jfr3
web, vendor-advisory, advisory
-
github.com
/goharbor/harbor/security/advisories/GHSA-jf8p-3vjh-pq94
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-31666
advisory, web
-
github.com
/goharbor/harbor
package
Sources
- CVE List CVE-2022-31666
- GitHub Advisory GHSA-jf8p-3vjh-pq94
- NVD CVE-2022-31666
- OSV BIT-harbor-2022-31666
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.