{"id":"CVE-2022-31669","aliases":["CVE-2022-31669","GHSA-8c6p-v837-77f6","BIT-HARBOR-2022-31669"],"related":[],"kind":"vulnerability","state":"published","title":"Harbor fails to validate the user permissions when updating tag immutability policies","summary":"Harbor fails to validate the user permissions when updating tag immutability policies. \n\nBy sending a request to update a tag immutability policy with an id that belongs to a\nproject that the currently authenticated user doesn’t have access to, the attacker could\nmodify tag immutability policies configured in other projects.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Harbor fails to validate the user permissions when updating tag immutability policies. \n\nBy sending a request to update a tag immutability policy with an id that belongs to a\nproject that the currently authenticated user doesn’t have access to, the attacker could\nmodify tag immutability policies configured in other projects.","source":"cvelist"},{"lang":"en","text":"### Impact\nHarbor fails to validate the user permissions when updating tag immutability policies - API call:\n\n  PUT /projects/{project_name_or_id}/immutabletagrules/{immutable_rule_id}\n\nBy sending a request to update a tag immutability policy with an id that belongs to a\nproject that the currently authenticated user doesn’t have access to, the attacker could\nmodify tag immutability policies configured in other projects.\n\n### Patches\nThis and similar issues are fixed in Harbor v2.5.2 and later. Please upgrade as soon as possible.\n\n### Workarounds\nThere are no workarounds available.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the Harbor GitHub repository](https://github.com/goharbor/harbor)\n\n### Credits\nThanks to [Gal Goldstein](https://www.linkedin.com/in/gal-goldshtein/) and [Daniel Abeles](https://www.linkedin.com/in/daniel-abeles/) from [Oxeye Security](https://www.oxeye.io/) for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Harbor no puede validar los permisos de usuario al actualizar las políticas de inmutabilidad de etiquetas. Al enviar una solicitud para actualizar una política de inmutabilidad de etiquetas con un ID que pertenece a un proyecto al que el usuario autenticado actualmente no tiene acceso, el atacante podría modificar las políticas de inmutabilidad de etiquetas configuradas en otros proyectos.","source":"nvd"}],"published":"2022-09-16T19:38:12.000Z","modified":"2026-09-08T08:47:51.691Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1","status":"affected"}],"product":"Harbor","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.10.13"}],"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.4.3"}],"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.5.0","status":"affected","fixed":"2.5.2"}],"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.4.3"},{"status":"affected","introduced":"2.5.0","fixed":"2.5.2"}],"vendor":"linuxfoundation","product":"harbor","cpe":"cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.4.3"},{"type":"semver","introduced":"2.5.0","status":"affected","fixed":"2.5.2"}],"ecosystem":"Bitnami","package":"harbor","purl":"pkg:bitnami/harbor","source":"bitnami"}],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/goharbor/harbor","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-15T17:30:12.401Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31669","url":"https://www.cve.org/CVERecord?id=CVE-2022-31669","licence":"CVE Terms of Use","modified":"2024-11-15T17:30:33.229Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8c6p-v837-77f6","url":"https://github.com/advisories/GHSA-8c6p-v837-77f6","licence":"CC-BY-4.0","modified":"2024-11-20T07:56:55.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31669","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669","licence":"Public domain","modified":"2026-06-17T04:46:00.970Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-HARBOR-2022-31669","url":"https://osv.dev/vulnerability/BIT-HARBOR-2022-31669","licence":"Apache-2.0","modified":"2026-09-08T08:47:51.691Z"}],"updatedAt":"2026-11-25T22:58:20.049Z","epss":{"score":0.00407,"percentile":0.37044,"date":"2026-12-01T12:00:22.000Z"}}