{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31667","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","state":"PUBLISHED","assignerShortName":"vmware","dateReserved":"2022-05-25T23:31:47.418Z","datePublished":"2024-11-14T11:50:48.289Z","dateUpdated":"2024-11-14T14:11:06.110Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Harbor","vendor":"n/a","versions":[{"status":"affected","version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"}]}],"datePublic":"2022-08-30T21:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: rgb(255, 255, 255);\">\n\n<span style=\"background-color: rgb(255, 255, 255);\">\n\n<span style=\"background-color: rgb(255, 255, 255);\">\n\n<span style=\"background-color: rgb(255, 255, 255);\">Harbor fails to validate the user permissions when updating a robot account that&nbsp;</span><span style=\"background-color: rgb(255, 255, 255);\">belongs to a project that the authenticated user doesn’t have access to.&nbsp;\n\n<span style=\"background-color: rgb(255, 255, 255);\">By sending a request that attempts to update a robot account, and specifying a robot&nbsp;</span><span style=\"background-color: rgb(255, 255, 255);\">account id and robot account name that belongs to a different project that the user&nbsp;</span><span style=\"background-color: rgb(255, 255, 255);\">doesn’t have access to, it was possible to revoke the robot account permissions.</span>\n\n</span></span></span></span>"}],"value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","description":"CWE-285","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","shortName":"vmware","dateUpdated":"2024-11-14T11:50:48.289Z"},"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f"}],"source":{"discovery":"UNKNOWN"},"title":"Harbor fails to validate the user permissions when updating a robot account","x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-14T14:10:48.659302Z","id":"CVE-2022-31667","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-14T14:11:06.110Z"}}]}}