CVE-2022-31667
Harbor fails to validate the user permissions when updating a robot account
6.4
MEDIUM
CVSS 3.1
EPSS 0.08%
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.
How to fix CVE-2022-31667
To remediate CVE-2022-31667, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.3 or later
- —upgrade to 1.10.13 or later
Is CVE-2022-31667 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 2.0.0, < 2.4.3, >= 2.5.0, < 2.5.2
- >= 1.0.0, < 1.10.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |