CVE-2019-19026 SQL Injection in Cloud Native Computing Foundation Harbor

Medium 4.9 Published Updated

Attackers can execute arbitrary SQL commands via project quotas in Harbor Container Registry, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-19026?

CVE-2019-19026 is a medium-severity SQL injection vulnerability in n/a, published on 20 Mar 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Cloud Native Computing Foundation Harbor prior to 1.8.6 and 1.9.3 allows SQL Injection via project quotas in the VMware Harbor Container Registry for the Pivotal Platform.

Weakness: CWE-89

Which versions are affected by CVE-2019-19026?

5 open source packages ship an affected version, including github.com/goharbor/harbor. It affects 2 products.

PackageAffectedFixed in
github.com/goharbor/harbor GoFrom 1.7.01.8.6, 1.9.3
github.com/goharbor/harbor GoFrom 1.7.01.8.6
github.com/goharbor/harbor GoFrom 1.7.01.8.6
github.com/goharbor/harbor GoFrom 1.9.01.9.3
github.com/goharbor/harbor GoFrom 1.9.01.9.3

Products include Linuxfoundation Harbor, Pivotal Vmware Harbor Registry.

How do I fix CVE-2019-19026?

Upgrade github.com/goharbor/harbor to a fixed version for your release line: 1.8.6 or 1.9.3.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-19026 being exploited?

There is no known exploitation of CVE-2019-19026 in the wild and no public exploit code.

Sources

Also known as GHSA-rh89-vvrg-fg64, GHSA-w4x5-jqq4-qc8x, GO-2022-0883.

Is CVE-2019-19026 in your software?

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

Check your SBOMs for free