# CVE-2020-35451: Oozie local privilege escalation

> A race condition in Apache Oozie allows attackers to replace sharelib files during creation, leading to local privilege escalation and potential code execution.

- **Severity:** Medium 4.7 (`CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 9 Mar 2021
- **Updated:** 13 Feb 2025
- **Also known as:** GHSA-9rqf-w99j-7c4r

## What is CVE-2020-35451?

CVE-2020-35451 is a medium-severity vulnerability in Apache Oozie, published on 9 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

There is a race condition in OozieSharelibCLI in Apache Oozie before version 5.2.1 which allows a malicious attacker to replace the files in Oozie's sharelib during it's creation.

Weakness: CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), CWE-377 (DEPRECATED: Insecure Temporary File)

## Which versions are affected by CVE-2020-35451?

It affects 1 product.


Products: Apache Oozie.

## How do I fix CVE-2020-35451?

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

## Is CVE-2020-35451 being exploited?

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

## Other vulnerabilities in Apache Oozie

- [CVE-2018-11799](https://insights.sbomify.com/CVE-2018-11799/): Moderate severity vulnerability that affects org.apache.oozie:oozie-core (medium 6.5)
- [CVE-2017-15712](https://insights.sbomify.com/CVE-2017-15712/): Path Traversal in Apache Oozie (medium 6.5)
- [CVE-2025-26796](https://insights.sbomify.com/CVE-2025-26796/): Apache Oozie: XSS in Oozie Web Console (medium 5.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-35451 and fix it if it is affected.

What it is: CVE-2020-35451 is a medium-severity vulnerability in Apache Oozie, published on 9 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-35451 in the wild and no public exploit code.

Affected product: Apache Oozie. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-35451/ (Markdown: https://insights.sbomify.com/CVE-2020-35451/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-35451
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-35451
- OSV: https://osv.dev/vulnerability/CVE-2020-35451

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-35451/
Summaries are generated and may contain mistakes; the official description above is the record.
