CVE-2022-31670Linuxfoundation Harbor
High 7.7
Follow: this CVE · Linuxfoundation · Linuxfoundation Harbor We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- Yes
- Published
- Nov 14, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Harbor.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor |
≥ 1.0.0 < 1.10.13 |
1.10.13 |
go get github.com/goharbor/harbor@v1.10.13 |
| Go | github.com/goharbor/harbor |
≥ 2.0.0 < 2.4.3 |
2.4.3 |
go get github.com/goharbor/harbor@v2.4.3 |
| Go | github.com/goharbor/harbor |
≥ 2.5.0 < 2.5.2 |
2.5.2 |
go get github.com/goharbor/harbor@v2.5.2 |
Per OSV / GitHub Advisories (GHSA-3637-v6vq-xqqw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | harbor | ≥ 1.0.0 < 1.10.13 |
| linuxfoundation | harbor | ≥ 2.0.0 < 2.4.3 |
| linuxfoundation | harbor | ≥ 2.5.0 < 2.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory