{"id":"CVE-2022-31669","aliases":["BIT-harbor-2022-31669","GHSA-8c6p-v837-77f6"],"summary":"Harbor fails to validate the user permissions when updating tag immutability policies","published_at":"2022-09-16T19:38:12Z","modified_at":"2026-09-08T08:47:51.69155Z","products":[{"slug":"harbor","name":"Harbor","category":"gitops-cicd"}],"rating":{"severity":"high","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0040699997916817665,"percentile":0.3573499917984009,"date":"2026-11-21T00:00:00Z"},"priority":8.7,"record_count":4,"vendors":["GitHub","Bitnami"],"details":"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.","affected_stack":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.10.13"}]}],"fixed":["1.10.13"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"}]}],"fixed":["2.4.3"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.5.2"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"harbor","purl":"pkg:bitnami/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"},{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.4.3","2.5.2"],"provider":"osv","source":"BIT-harbor-2022-31669","relation":"self"},{"ecosystem":"NVD","package":"linuxfoundation:harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.4.3","2.5.2"],"provider":"nvd","source":"CVE-2022-31669","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-31669","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-31669","license":"CC-BY-4.0","published_at":"2024-11-14T11:48:03.444Z","modified_at":"2024-11-15T17:30:33.229Z","summary":"Harbor fails to validate the user permissions when updating tag immutability policies","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","source":"CVE-2022-31669"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6"}]},{"provider":"nvd","source_id":"CVE-2022-31669","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669","severity":[],"affected":[{"ecosystem":"NVD","package":"linuxfoundation:harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.4.3","2.5.2"],"provider":"nvd","source":"CVE-2022-31669","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-harbor-2022-31669","relation":"self","url":"https://osv.dev/vulnerability/BIT-harbor-2022-31669","license":"Apache-2.0","published_at":"2024-11-20T07:10:52.89Z","modified_at":"2026-09-08T08:47:51.69155Z","summary":"Harbor fails to validate the user permissions when updating tag immutability policies","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","source":"BIT-harbor-2022-31669"}],"affected":[{"ecosystem":"Bitnami","package":"harbor","purl":"pkg:bitnami/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"},{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.4.3","2.5.2"],"provider":"osv","source":"BIT-harbor-2022-31669","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669"}]},{"provider":"osv","source_id":"GHSA-8c6p-v837-77f6","relation":"self","url":"https://osv.dev/vulnerability/GHSA-8c6p-v837-77f6","license":"CC-BY-4.0","published_at":"2022-09-16T19:38:12Z","modified_at":"2024-11-20T07:56:55.895506Z","summary":"Harbor fails to validate the user permissions when updating tag immutability policies","details":"### 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","source":"GHSA-8c6p-v837-77f6"}],"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.10.13"}]}],"fixed":["1.10.13"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"}]}],"fixed":["2.4.3"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"fixed":["2.5.2"],"provider":"osv","source":"GHSA-8c6p-v837-77f6","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669"},{"type":"PACKAGE","url":"https://github.com/goharbor/harbor"}]}],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669"},{"type":"PACKAGE","url":"https://github.com/goharbor/harbor"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-31669","url":"https://www.cve.org/CVERecord?id=CVE-2022-31669","license":"CC-BY-4.0","modified_at":"2024-11-15T17:30:33.229Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-31669","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31669","relation":"self"},{"provider":"osv","source_id":"BIT-harbor-2022-31669","url":"https://osv.dev/vulnerability/BIT-harbor-2022-31669","license":"Apache-2.0","modified_at":"2026-09-08T08:47:51.69155Z","relation":"self"},{"provider":"osv","source_id":"GHSA-8c6p-v837-77f6","url":"https://osv.dev/vulnerability/GHSA-8c6p-v837-77f6","license":"CC-BY-4.0","modified_at":"2024-11-20T07:56:55.895506Z","relation":"self"}]}
