CVE-2022-31670 json
Harbor fails to validate the user permissions when updating tag retention policies
published 2022-09-16 4 y ago modified 2026-09-08 2 mo ago also BIT-harbor-2022-31670 , EUVD-2022-6672 , GHSA-3637-v6vq-xqqw
- 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 46%
- public exploits
- 0
- none known
Summary
Harbor fails to validate the user permissions when updating tag retention policies.
By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify tag retention policies configured in other projects.
Patch / fix
- go github.com/goharbor/harbor 1.10.13, 2.4.3, 2.5.2
- bitnami harbor 1.10.13, 2.4.3, 2.5.2
- linuxfoundation harbor 1.10.13, 2.4.3, 2.5.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
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:N/I:H/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| OSV | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/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 | >=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 |
Affected products
- n/a Harbor
Classification
References
-
github.com
/goharbor/harbor/security/advisories/GHSA-3637-v6vq-xqqw
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31670
advisory, web
-
github.com
/goharbor/harbor
package
Sources
- CVE List CVE-2022-31670
- GitHub Advisory GHSA-3637-v6vq-xqqw
- NVD CVE-2022-31670
- OSV BIT-harbor-2022-31670
Fencer Vulns 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.