{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31670","id":"CVE-2022-31670","title":"Harbor fails to validate the user permissions when updating tag retention policies","description":"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.","descriptionLong":"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.","published":"2024-11-14T11:45:22.257Z","updated":"2026-10-28T02:31:06.046705163Z","reserved":"2022-05-25T23:31:47.419Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"vmware"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"vmware.com"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Harbor"],"affectedProducts":[{"vendor":"n/a","product":"Harbor","defaultStatus":"unaffected","versions":[{"status":"affected","version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[">=1.0.0 <1.10.13",">=2.0.0 <2.4.3",">=2.5.0 <2.5.2"],"fixed":["1.10.13","2.4.3","2.5.2"],"advisory":"GHSA-3637-v6vq-xqqw"}],"cwes":["CWE-285","CWE-863"],"aliases":["BIT-harbor-2022-31670","GHSA-3637-v6vq-xqqw"],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3637-v6vq-xqqw","tags":["Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31670.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31670","tags":["advisory"]},{"url":"https://github.com/goharbor/harbor","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00546,"epssPercentile":0.46543,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31670","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31670","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31670","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3637-v6vq-xqqw","ok":true,"note":"GHSA-3637-v6vq-xqqw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31670","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}