CVE-2020-29662
JSON

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 packageVersionsReported by
Unspecified productn/aCVE 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+incompatibleGitHub Advisory Database, Go Vulnerability Database
linuxfoundation harborfrom 2.0 before 2.0.5, from 2.1.0 before 2.1.2NVD
harbor (Bitnami)from 2.0.0 before 2.0.5, from 2.1.0 before 2.1.2Bitnami Vulnerability Database

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium 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

SourceRecordLicence
CVE ListCVE-2020-29662 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-38r5-34mr-mvm7 changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0785 changed 2026-03-03CC-BY-4.0
NVDCVE-2020-29662 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-HARBOR-2020-29662 changed 2026-09-08Apache-2.0