Authentication Bypass Affecting github.com/goharbor/harbor/src/lib package, versions >=2.0.0-rc1 <2.0.5 >=2.1.0-tech-preview <2.1.2
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCLIB-1069936
- published 4 Feb 2021
- disclosed 3 Feb 2021
- credit Javier Provecho
How to fix?
github.com/goharbor/harbor/src/lib to version 2.0.5, 2.1.2 or higher.
Affected versions of this package are vulnerable to Authentication Bypass. The catalog’s registry API is exposed on an unauthenticated path. The catalog API path is served at the following path and it requires authentication as an admin:
However, the authorization can be bypassed by using the following path: