MEDIUM6.5
GO-2022-0818
Missing Authorization in Harbor in github.com/goharbor/harbor
Quick fix
GO-2022-0818 — github.com/goharbor/harbor: upgrade to the fixed version with the command below.
go get github.com/goharbor/harbor@v1.9.0-rc1Details
Missing Authorization in Harbor in github.com/goharbor/harbor
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/goharbor/harbor
Introduced in:
1.7.0Fixed in: 1.9.0-rc1Fix
go get github.com/goharbor/harbor@v1.9.0-rc1References
- https://github.com/advisories/GHSA-9wvh-ff5f-xjpj[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2019-16097[ADVISORY]
- https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517[FIX]
- http://www.vmware.com/security/advisories/VMSA-2019-0015.html[WEB]
- https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1[WEB]
- https://github.com/goharbor/harbor/releases/tag/v1.7.6[WEB]
- https://github.com/goharbor/harbor/releases/tag/v1.8.3[WEB]
- https://github.com/ianxtianxt/CVE-2019-16097[WEB]
- https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/goharbor/harbor"]}'