CVE-2021-43289 Path traversal in n/a

High 7.5 Published Updated

A compromised GoCD agent can upload malicious files to arbitrary server directories, potentially leading to code execution or privilege escalation.

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

What is CVE-2021-43289?

CVE-2021-43289 is a high-severity path traversal vulnerability in n/a, published on 14 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker who has compromised a GoCD agent can upload a malicious file into an arbitrary directory of a GoCD server, but does not control the filename.

Weakness: CWE-22

Which versions are affected by CVE-2021-43289?

It affects 1 product.

Products include Thoughtworks Gocd.

How do I fix CVE-2021-43289?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-43289 being exploited?

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

Sources

Also known as GHSA-522c-r5fp-4rxh.

Is CVE-2021-43289 in your software?

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

Check your SBOMs for free