CVE-2020-13788 Harbor is vulnerable to a limited Server-Side Request Forgery (SSRF) (CVE-2020-13788)

Medium 4.3 Published Updated

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.

PackageAffectedFixed in
github.com/goharbor/harbor GoFrom 1.8.02.0.1
github.com/goharbor/harbor GoFrom 1.8.02.0.1
github.com/goharbor/harbor GoFrom 1.8.02.0.1+incompatible
harbor BitnamiAll versions2.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.

Sources

Also known as BIT-harbor-2020-13788, GHSA-33p6-fx42-7rf5, GO-2022-0781.

Is CVE-2020-13788 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free