{"id":"CVE-2020-29662","aliases":["GHSA-38r5-34mr-mvm7","BIT-harbor-2020-29662","GO-2022-0785"],"title":"\"catalog's registry v2 api exposed on unauthenticated path in Harbor\"","summary":"\"catalog's registry v2 api exposed on unauthenticated path in Harbor\"","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","vendor":"goharbor","product":"github.com/goharbor/harbor","ecosystem":"go","affected":["github.com/goharbor/harbor < 2.0.5","github.com/goharbor/harbor >= 2.1.0, < 2.1.2"],"patched":["github.com/goharbor/harbor 2.0.5","github.com/goharbor/harbor 2.1.2"],"published":"2022-02-12","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-38r5-34mr-mvm7","references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-38r5-34mr-mvm7"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29662"},{"url":"https://github.com/goharbor/harbor/pull/13676"},{"url":"https://github.com/goharbor/harbor/commit/3481722f140e1fdf6e6d290b0cd5c86e509feed4"},{"url":"https://github.com/goharbor/harbor/commit/c7c409a8e5a8b3fd42841dda84759c9d77977853"},{"url":"https://github.com/goharbor/harbor/releases/tag/v2.0.5"},{"url":"https://github.com/goharbor/harbor/releases/tag/v2.1.2"}],"tags":["osv","go"],"epss":0.00722,"epssPercentile":0.5256,"ingestedAt":"2026-07-09T18:56:35.470Z","slug":"CVE-2020-29662","body":"## Overview\n\n### **Impact**\nJavier Provecho, member of the TCCT (Telefonica Cloud & Cybersecurity Tech better known as ElevenPaths) SRE team discovered a vulnerability regarding Harbor’s v2 API.\n\nThe 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.\n\n\"GET /v2/_catalog\"\n\nHowever, the authorization can be bypassed by using the following path\n\n\"GET /v2/_catalog/\"\n\n### **Patches**\nIf your product uses the affected releases of Harbor, update to either version v2.1.2 or v2.0.5 to fix this issue immediately\n\nhttps://github.com/goharbor/harbor/releases/tag/v2.1.2\nhttps://github.com/goharbor/harbor/releases/tag/v2.0.5\n\n### **Workarounds**\nIf 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.\n\n### **For more information**\nIf you have any questions or comments about this advisory, contact cncf-harbor-security@lists.cncf.io\nView our security policy at https://github.com/goharbor/harbor/security/policy\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-29662\n\n## Affected packages\n\n- `github.com/goharbor/harbor < 2.0.5`\n- `github.com/goharbor/harbor >= 2.1.0, < 2.1.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/goharbor/harbor 2.0.5`\n- `github.com/goharbor/harbor 2.1.2`","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}