Authentication Bypass Affecting github.com/goharbor/harbor/src/server/middleware Open this link in a new tab 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
4 Feb 2021
3 Feb 2021
How to fix?
github.com/goharbor/harbor/src/server/middleware 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: