CVE-2020-13788 Harbor is vulnerable to a limited Server-Side Request Forgery (SSRF) (CVE-2020-13788)
Attackers with project edit rights can perform Server-Side Request Forgery to scan internal network ports via the Harbor server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13788?
CVE-2020-13788 is a medium-severity server-side request forgery vulnerability in n/a, published on 15 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Harbor prior to 2.0.1 allows SSRF with this limitation: an attacker with the ability to edit projects can scan ports of hosts accessible on the Harbor server's intranet.
Weakness: CWE-918
Which versions are affected by CVE-2020-13788?
4 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 | From 1.8.0 | 2.0.1 |
github.com/goharbor/harbor Go | From 1.8.0 | 2.0.1 |
github.com/goharbor/harbor Go | From 1.8.0 | 2.0.1+incompatible |
harbor Bitnami | All versions | 2.0.1 |
Products include Linuxfoundation Harbor.
How do I fix CVE-2020-13788?
Upgrade github.com/goharbor/harbor to a fixed version for your release line: 2.0.1 or 2.0.1+incompatible.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2020-13788 being exploited?
There is no known exploitation of CVE-2020-13788 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-13788, GHSA-33p6-fx42-7rf5, GO-2022-0781.