CVE-2022-31667
published medium CVSS 3.1 · 6.4Harbor fails to validate the user permissions when updating a robot account
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | HarborHarbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 · Other versions: unaffected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 (affected)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-285
References
1Provider assertions
2vmware · cna
Harbor fails to validate the user permissions when updating a robot account
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ad9df3b4feee342b4671da1fe19c479cc91ff114900e94b9bffeb1007fcb54a
- Ingested
- 23 Sep 2026, 08:00:34 UTC
- Source record
- Official CVE record