CVE-2021-25311 Path traversal in n/a

Critical 9.9 Published Updated

Attacker can traverse directories to write files executed by root, enabling privilege escalation in HTCondor.

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-25311?

CVE-2021-25311 is a critical path traversal vulnerability in n/a, published on 27 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

condor_credd in HTCondor before 8.9.11 allows Directory Traversal outside the SEC_CREDENTIAL_DIRECTORY_OAUTH directory, as demonstrated by creating a file under /etc that will later be executed by root.

Weakness: CWE-22

Which versions are affected by CVE-2021-25311?

It affects 1 product.

Products include Wisc Htcondor.

How do I fix CVE-2021-25311?

No fix has been published for CVE-2021-25311 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-25311 being exploited?

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

Sources

Also known as GHSA-h7mc-jr2r-m38g, UBUNTU-CVE-2021-25311.

Is CVE-2021-25311 in your software?

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

Check your SBOMs for free