MEDIUM5.3
GO-2022-0785
"catalog's registry v2 api exposed on unauthenticated path in Harbor" in github.com/goharbor/harbor
Quick fix
GO-2022-0785 — github.com/goharbor/harbor: upgrade to the fixed version with the command below.
go get github.com/goharbor/harbor@v2.0.5+incompatibleDetails
"catalog's registry v2 api exposed on unauthenticated path 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:
0Fixed in: 2.0.5+incompatibleFix
go get github.com/goharbor/harbor@v2.0.5+incompatibleReferences
- https://github.com/goharbor/harbor/security/advisories/GHSA-38r5-34mr-mvm7[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2020-29662[ADVISORY]
- https://github.com/goharbor/harbor/commit/3481722f140e1fdf6e6d290b0cd5c86e509feed4[FIX]
- https://github.com/goharbor/harbor/commit/c7c409a8e5a8b3fd42841dda84759c9d77977853[FIX]
- https://github.com/goharbor/harbor/pull/13676[FIX]
- https://github.com/goharbor/harbor/releases/tag/v2.0.5[WEB]
- https://github.com/goharbor/harbor/releases/tag/v2.1.2[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"]}'