{"id":"CVE-2022-31667","published":"2024-11-14T11:50:48Z","modified":"2024-11-14T14:11:06Z","title":"Harbor fails to validate the user permissions when updating a robot account","vendor":null,"product":null,"tier":"tail","description":{"text":"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. \n\nBy 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0054,"percentile":0.38941,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f","tags":[]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.79},{"name":"CVSS severity","points":4.48}]},"affectedVersions":[{"vendor":"n/a","product":"Harbor","versions":["Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-14T14:10:48.659302Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","vulnerableRanges":[">=1.0.0, <1.10.13",">=2.0.0, <2.4.3",">=2.5.0, <2.5.2"],"patched":["1.10.13","2.4.3","2.5.2"],"from":["GHSA-xx9w-464f-7h6f"],"provenance":"source"}],"summary":{"text":"Harbor, the container registry, contains a flaw in its robot account update handling where permissions are not validated against the project being modified. An authenticated user with access to one project can send a crafted request naming a robot account in a different project they cannot access, causing that robot account's permissions to be revoked; the attack requires network access and a valid low-privileged account, with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:50Z"},"euvd":{"id":"EUVD-2022-6985","exploited":false,"provenance":"source"}}