{"id":"CVE-2022-31670","published":"2024-11-14T11:45:22Z","modified":"2024-11-14T14:09:48Z","title":"Harbor fails to validate the user permissions when updating tag retention policies","vendor":null,"product":null,"tier":"tail","description":{"text":"Harbor fails to validate the user permissions when updating tag retention policies. \n\nBy sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify\ntag retention policies configured in other projects.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00573,"percentile":0.4118,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3637-v6vq-xqqw","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.24},{"name":"CVSS severity","points":5.39}]},"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:09:30.950454Z","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-3637-v6vq-xqqw"],"provenance":"source"}],"summary":{"text":"The flaw is an improper authorization issue in Harbor's tag retention policy update functionality, which fails to check whether the authenticated user has access to the project that owns the targeted policy. An attacker who has network access and a low-privileged authenticated account can send a request to update a tag retention policy belonging to a project they cannot access, thereby modifying retention policies configured in other projects, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:45Z"},"euvd":{"id":"EUVD-2022-6672","exploited":false,"provenance":"source"}}