CVE-2021-43286 Command injection in n/a

High 8.8 Published Updated

An attacker with pipeline creation privileges can execute arbitrary code via command injection in the Git URL test feature.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-43286?

CVE-2021-43286 is a high-severity command injection vulnerability in n/a, published on 14 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a GoCD server can abuse a command-line injection in the Git URL "Test Connection" feature to execute arbitrary code.

Weakness: CWE-77

Which versions are affected by CVE-2021-43286?

It affects 1 product.

Products include Thoughtworks Gocd.

How do I fix CVE-2021-43286?

No fix has been published for CVE-2021-43286 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-43286 being exploited?

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

Sources

Also known as GHSA-qw79-44j4-pg72.

Is CVE-2021-43286 in your software?

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

Check your SBOMs for free