{"id":"GHSA-9wvh-ff5f-xjpj","summary":"Missing Authorization in Harbor","details":"core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API. This is fixed in 1.9.0-rc1.","aliases":["CVE-2019-16097","GO-2022-0818"],"modified":"2024-08-21T15:58:49.524137Z","published":"2022-02-15T01:57:18Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-17T16:40:42Z","nvd_published_at":null,"cwe_ids":["CWE-862"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097"},{"type":"WEB","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"type":"WEB","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"type":"WEB","url":"https://github.com/ianxtianxt/CVE-2019-16097"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097"},{"type":"WEB","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"}],"affected":[{"package":{"name":"github.com/goharbor/harbor","ecosystem":"Go","purl":"pkg:golang/github.com/goharbor/harbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.8.9","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-9wvh-ff5f-xjpj/GHSA-9wvh-ff5f-xjpj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}