CVE-2020-29662 "catalog's registry v2 api exposed on unauthenticated path in Harbor"
Unauthenticated access to the catalog registry API allows attackers to read sensitive registry data in Harbor.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-29662?
CVE-2020-29662 is a medium-severity missing authorization vulnerability in n/a, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-319
Which versions are affected by CVE-2020-29662?
6 open source packages ship an affected version, including github.com/goharbor/harbor and harbor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/goharbor/harbor Go | All versions | 2.0.5+incompatible, 2.1.2+incompatible |
github.com/goharbor/harbor Go | All versions | 2.0.5 |
github.com/goharbor/harbor Go | All versions | 2.0.5 |
github.com/goharbor/harbor Go | From 2.1.0 | 2.1.2 |
github.com/goharbor/harbor Go | From 2.1.0 | 2.1.2 |
harbor Bitnami | From 2.0.0 | 2.0.5, 2.1.2 |
Products include Linuxfoundation Harbor.
How do I fix CVE-2020-29662?
Upgrade github.com/goharbor/harbor to a fixed version for your release line: 2.0.5+incompatible, 2.1.2+incompatible, 2.0.5 or 2.1.2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-29662 being exploited?
There is no known exploitation of CVE-2020-29662 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2026-4404 Use of hard coded credentials in GoHarbor Harbor
- CVE-2019-19023 Privilege Escalation in Cloud Native Computing Foundation Harbor
- CVE-2019-19025 Cross-site Request Forgery (CSRF) in Cloud Native Computing Foundation Harbor
- CVE-2017-17697 Server-side request forgery in n/a
- CVE-2022-31666 Harbor fails to validate user permissions while Viewing, updating and deleting Webhook policies
Sources
Also known as BIT-harbor-2020-29662, GHSA-38r5-34mr-mvm7, GO-2022-0785.