Files
vuln-osv/data/Go/GHSA-8c6p-v837-77f6.json
T

1 line
3.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"schema_version":"1.9.0","id":"GHSA-8c6p-v837-77f6","published":"2022-09-16T19:38:12Z","modified":"2024-11-20T07:56:55.895506Z","aliases":["BIT-harbor-2022-31669","CVE-2022-31669"],"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.\n","affected":[{"package":{"name":"github.com/goharbor/harbor","ecosystem":"Go","purl":"pkg:golang/github.com/goharbor/harbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.10.13"}]}],"database_specific":{"last_known_affected_version_range":"<= 1.10.12","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-8c6p-v837-77f6/GHSA-8c6p-v837-77f6.json"}},{"package":{"name":"github.com/goharbor/harbor","ecosystem":"Go","purl":"pkg:golang/github.com/goharbor/harbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.4.3"}]}],"database_specific":{"last_known_affected_version_range":"<= 2.4.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-8c6p-v837-77f6/GHSA-8c6p-v837-77f6.json"}},{"package":{"name":"github.com/goharbor/harbor","ecosystem":"Go","purl":"pkg:golang/github.com/goharbor/harbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"database_specific":{"last_known_affected_version_range":"<= 2.5.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-8c6p-v837-77f6/GHSA-8c6p-v837-77f6.json"}}],"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"}],"database_specific":{"cwe_ids":["CWE-285","CWE-863"],"github_reviewed":true,"github_reviewed_at":"2022-09-16T19:38:12Z","nvd_published_at":"2024-11-14T12:15:16Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"}]}