CVE-2022-31667: linuxfoundation harbor Improper Authorization
Vulnerability summary
CVE-2022-31667 is a medium (CVSS 6.4) Improper Authorization vulnerability in linuxfoundation harbor. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.3% of scored vulnerabilities.
Timeline
- 14-11-2024PublishedVulnerability first disclosed.
- 14-11-2024Last modifiedVulnerability information updated.
Description
Harbor fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn’t have access to. By sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- NVDNIST6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.53% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
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≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2
2 vendors · 2 products
References
3 links- github.com/goharbor/harborPACKAGE