{"id":"CVE-2024-22278","aliases":["BIT-harbor-2024-22278","GHSA-hw28-333w-qxp3","GO-2024-3013","WID-SEC-W-2024-1729"],"summary":"Harbor fails to validate the user permissions when updating project configurations","published_at":"2024-07-30T22:00:00Z","modified_at":"2026-09-08T08:47:51.500971Z","products":[{"slug":"harbor","name":"Harbor","category":"gitops-cicd"}],"rating":{"severity":"high","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"BSI","rating":"mittel"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003650000086054206,"percentile":0.3096599876880646,"date":"2026-11-21T00:00:00Z"},"priority":8,"record_count":6,"vendors":["BSI","GitHub","Bitnami","Go"],"details":"Incorrect user permission validation in Harbor <v2.9.5 and Harbor <v2.10.3 allows authenticated users to modify configurations.","affected_stack":[{"ecosystem":"CVE","package":"harbor/harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.4"},{"fixed":"<v2.9.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.2"},{"fixed":"<v2.10.3"}]}],"fixed":["<v2.9.5","<v2.10.3"],"provider":"cvelistv5","source":"CVE-2024-22278","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.9.5"}]}],"fixed":["2.9.5"],"provider":"osv","source":"GHSA-hw28-333w-qxp3","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.10.0"},{"fixed":"2.10.3"}]}],"fixed":["2.10.3"],"provider":"osv","source":"GHSA-hw28-333w-qxp3","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.9.5+incompatible"},{"introduced":"2.10.0+incompatible"},{"fixed":"2.10.3+incompatible"}]}],"fixed":["2.9.5+incompatible","2.10.3+incompatible"],"provider":"osv","source":"GO-2024-3013","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"harbor","purl":"pkg:bitnami/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.11.0"}]}],"fixed":["2.11.0"],"provider":"osv","source":"BIT-harbor-2024-22278","relation":"self"},{"ecosystem":"NVD","package":"linuxfoundation:harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.3"}]}],"fixed":["2.9.5","2.10.3"],"provider":"nvd","source":"CVE-2024-22278","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-22278","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-22278","license":"CC-BY-4.0","published_at":"2024-08-02T00:59:55.313Z","modified_at":"2024-08-14T21:35:37.751Z","summary":"Harbor fails to validate the user permissions when updating project configurations","details":"Incorrect user permission validation in Harbor <v2.9.5 and Harbor <v2.10.3 allows authenticated users to modify configurations.","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-2024-22278"}],"affected":[{"ecosystem":"CVE","package":"harbor/harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.4"},{"fixed":"<v2.9.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.2"},{"fixed":"<v2.10.3"}]}],"fixed":["<v2.9.5","<v2.10.3"],"provider":"cvelistv5","source":"CVE-2024-22278","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1729","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1729","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-07-30T22:00:00Z","modified_at":"2024-07-30T22:00:00Z","summary":"Harbor: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen und Dateiveränderung","details":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Harbor ausnutzen, um Sicherheitsvorkehrungen zu umgehen und Dateien zu verändern.\n\nHarbor ist eine Registry, die die Docker Distribution erweitert, um Artefakte mit Richtlinien und rollenbasierter Zugriffskontrolle zu sichern.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-1729"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1729.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1729"},{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"}]},{"provider":"nvd","source_id":"CVE-2024-22278","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278","severity":[],"affected":[{"ecosystem":"NVD","package":"linuxfoundation:harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.3"}]}],"fixed":["2.9.5","2.10.3"],"provider":"nvd","source":"CVE-2024-22278","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-harbor-2024-22278","relation":"self","url":"https://osv.dev/vulnerability/BIT-harbor-2024-22278","license":"Apache-2.0","published_at":"2024-08-10T07:20:13.895Z","modified_at":"2026-09-08T08:47:51.500971Z","summary":"Harbor fails to validate the user permissions when updating project configurations","details":"Incorrect user permission validation in Harbor <v2.9.5 and Harbor <v2.10.3 allows authenticated users to modify configurations.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"BIT-harbor-2024-22278"}],"affected":[{"ecosystem":"Bitnami","package":"harbor","purl":"pkg:bitnami/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.11.0"}]}],"fixed":["2.11.0"],"provider":"osv","source":"BIT-harbor-2024-22278","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278"}]},{"provider":"osv","source_id":"GHSA-hw28-333w-qxp3","relation":"self","url":"https://osv.dev/vulnerability/GHSA-hw28-333w-qxp3","license":"CC-BY-4.0","published_at":"2024-07-31T16:53:13Z","modified_at":"2024-11-18T16:26:57Z","summary":"Harbor fails to validate the user permissions when updating project configurations","details":"### Impact\nHarbor fails to validate the maintainer role permissions when creating/updating/deleting project configurations - API call:\n\n- PUT /projects/{project_name_or_id}/metadatas/{meta_name}\n- POST /projects/{project_name_or_id}/metadatas/{meta_name}\n- DELETE /projects/{project_name_or_id}/metadatas/{meta_name}\n\nBy sending a request to create/update/delete a metadata with an name that belongs to a project that the currently authenticated and granted to the maintainer role user doesn’t have access to, the attacker could modify configurations in the current project.\n\nBTW: the maintainer role in Harbor was intended for individuals who closely support the project admin in maintaining the project but lack configuration management permissions. However, the maintainer role can utilize the metadata API to circumvent this limitation. It's important to note that any potential attacker must be authenticated and granted a specific project maintainer role to modify configurations, limiting their scope to only that project.\n\n\n### Patches\nWill be fixed in v2.9.5, v2.10.3 and v2.11.0\n\n### Workarounds\nThere are no workarounds available.\n\n### Credit\nThanks to Ravid Mazon(rmazon@paloaltonetworks.com), Jay Chen (jaychen@paloaltonetworks.com) Palo Alto Networks for reporting this issue.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","source":"GHSA-hw28-333w-qxp3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:N","source":"GHSA-hw28-333w-qxp3"}],"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.9.5"}]}],"fixed":["2.9.5"],"provider":"osv","source":"GHSA-hw28-333w-qxp3","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"2.10.0"},{"fixed":"2.10.3"}]}],"fixed":["2.10.3"],"provider":"osv","source":"GHSA-hw28-333w-qxp3","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278"},{"type":"PACKAGE","url":"https://github.com/goharbor/harbor"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3013"}]},{"provider":"osv","source_id":"GO-2024-3013","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-3013","license":"CC-BY-4.0","published_at":"2024-08-06T22:03:16Z","modified_at":"2026-03-03T04:51:57.578586Z","summary":"Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor","details":"Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.9.5+incompatible"},{"introduced":"2.10.0+incompatible"},{"fixed":"2.10.3+incompatible"}]}],"fixed":["2.9.5+incompatible","2.10.3+incompatible"],"provider":"osv","source":"GO-2024-3013","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278"}]}],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1729.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1729"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278"},{"type":"PACKAGE","url":"https://github.com/goharbor/harbor"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3013"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-22278","url":"https://www.cve.org/CVERecord?id=CVE-2024-22278","license":"CC-BY-4.0","modified_at":"2024-08-14T21:35:37.751Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1729","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1729","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-07-30T22:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-22278","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22278","relation":"self"},{"provider":"osv","source_id":"BIT-harbor-2024-22278","url":"https://osv.dev/vulnerability/BIT-harbor-2024-22278","license":"Apache-2.0","modified_at":"2026-09-08T08:47:51.500971Z","relation":"self"},{"provider":"osv","source_id":"GHSA-hw28-333w-qxp3","url":"https://osv.dev/vulnerability/GHSA-hw28-333w-qxp3","license":"CC-BY-4.0","modified_at":"2024-11-18T16:26:57Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-3013","url":"https://osv.dev/vulnerability/GO-2024-3013","license":"CC-BY-4.0","modified_at":"2026-03-03T04:51:57.578586Z","relation":"self"}]}
