CVE-2022-31668: User permission validation failure and disclosure of P2P preheat execution logs
Vulnerability summary
CVE-2022-31668 is a high (CVSS 7.7) Improper Authorization vulnerability in linuxfoundation harbor. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 23.2% of scored vulnerabilities.
Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 14-11-2024PublishedVulnerability first disclosed.
- 14-11-2024Last modifiedVulnerability information updated.
Description
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-10-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≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2 | ≥ 2.5.0+incompatible, < 2.5.2+incompatible
Github.com/goharbor/harbor1 product
- src< 0.0.0-20220630175814-b4ef1db
Linuxfoundation1 product
- harbor≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2
3 vendors · 3 products
References
4 links- github.com/goharbor/harborPACKAGE