5.3medium
"catalog's registry v2 api exposed on unauthenticated path in Harbor"
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-38r5-34mr-mvm7BIT-HARBOR-2020-29662GO-2022-0785
Description
In Harbor 2.0 before 2.0.5 and 2.1.x before 2.1.2 the catalog’s registry API is exposed on an unauthenticated path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/goharbor/harbor (Go) | before 2.0.5, from 2.1.0 before 2.1.2, before 2.0.5+incompatible, from 2.1.0+incompatible before 2.1.2+incompatible | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation harbor | from 2.0 before 2.0.5, from 2.1.0 before 2.1.2 | NVD |
| harbor (Bitnami) | from 2.0.0 before 2.0.5, from 2.1.0 before 2.1.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
In Harbor 2.0 before 2.0.5 and 2.1.x before 2.1.2 the catalog’s registry API is exposed on an unauthenticated path.
GitHub Advisory Database
Impact
Javier Provecho, member of the TCCT (Telefonica Cloud & Cybersecurity Tech better known as ElevenPaths) SRE team discovered a vulnerability regarding Harbor’s v2 API.
The catalog’s registry v2 api is exposed on an unauthenticated path. The current catalog API path is served at the following path and it requires to be authenticated as an admin.
"GET /v2/_catalog"
However, the authorization can be bypassed by using the following path
"GET /v2/_catalog/"
Patches
If your product uses the affected releases of Harbor, update to either version v2.1.2 or v2.0.5 to fix this issue immediately
https://github.com/goharbor/harbor/releases/tag/v2.1.2 https://github.com/goharbor/harbor/releases/tag/v2.0.5
Workarounds
If you cannot access a patched release, it can be mitigated by disabling that API. For example, redirecting it to a 404 sink hole in the ingress.
For more information
If you have any questions or comments about this advisory, contact cncf-harbor-security@lists.cncf.io View our security policy at https://github.com/goharbor/harbor/security/policy https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-29662
Go Vulnerability Database
"catalog's registry v2 api exposed on unauthenticated path in Harbor" in github.com/goharbor/harbor
NVD (es)
En Harbour versiones 2.0 anteriores a 2.0.5 y versiones 2.1.x anteriores a 2.1.2, la API de registro del catálogo está expuesta en una ruta no autenticada
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-29662 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-38r5-34mr-mvm7 changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0785 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2020-29662 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HARBOR-2020-29662 changed 2026-09-08 | Apache-2.0 |