Affected by GO-2022-0704
and 16 other vulnerabilities
GO-2022-0704 : Unauthenticated users can exploit an enumeration vulnerability in Harbor (CVE-2019-19030) in github.com/goharbor/harbor
GO-2022-0785 : "catalog's registry v2 api exposed on unauthenticated path in Harbor" in github.com/goharbor/harbor
GO-2022-0818 : Missing Authorization in Harbor in github.com/goharbor/harbor
GO-2022-0853 : SQL Injection in Cloud Native Computing Foundation Harbor in github.com/goharbor/harbor
GO-2022-0863 : Privilege Escalation in Cloud Native Computing Foundation Harbor in github.com/goharbor/harbor
GO-2022-0865 : Authenticated users can exploit an enumeration vulnerability in Harbor in github.com/goharbor/harbor
GO-2022-0876 : Cross-site Request Forgery (CSRF) in Cloud Native Computing Foundation Harbor in github.com/goharbor/harbor
GO-2022-0883 : SQL Injection in Cloud Native Computing Foundation Harbor in github.com/goharbor/harbor
GO-2023-2109 : Harbor timing attack risk in github.com/goharbor/harbor
GO-2024-2915 : Open Redirect URL in Harbor in github.com/goharbor/harbor
GO-2024-2916 : SQL Injection in Harbor scan log API in github.com/goharbor/harbor
GO-2024-3013 : Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor
GO-2025-3825 : Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825 : Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825 : Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825 : Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3826 : Possible ORM Leak Vulnerability in the Harbor in github.com/goharbor/harbor
Discover Packages
github.com/goharbor/harbor
src
common
config
package
Version:
v1.7.2
Opens a new window with list of versions in this module.
Published: Jan 25, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 194
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config provide methods to get the configurations reqruied by code in src/common
type FileKeyProvider struct {
}
FileKeyProvider reads key from file
Get returns the key read from file
KeyProvider provides the key used to encrypt and decrypt attrs
NewFileKeyProvider returns an instance of FileKeyProvider
path: where the key should be read from
type Manager struct {
Cache bool
}
Manager manages configurations
NewManager returns an instance of Manager
Get : if cache is enabled, read configurations from cache,
if cache is null or cache is disabled it loads configurations directly
Load configurations, if cache is enabled, cache the configurations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.