CVE-2022-31670: Harbor fails to validate the user permissions when updating tag retention policies
Vulnerability summary
CVE-2022-31670 is a high (CVSS 7.7) Improper Authorization vulnerability in linuxfoundation harbor. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.
Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 14-11-2024PublishedVulnerability first disclosed.
- 14-11-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- NVDNIST7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.55% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-285Improper AuthorizationThe product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
- CWE-863Incorrect AuthorizationThe product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/goharbor1 product
- harbor≥ 1.0.0, < 1.10.13 | ≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2
Linuxfoundation1 product
- harbor≥ 1.0.0, < 1.10.13 | ≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2
2 vendors · 2 products
References
3 links- github.com/goharbor/harborPACKAGE