Local privilege escalation via sharelib replacement race
Published Mar 9, 2021 · Updated Feb 13, 2025
Race condition in OozieSharelibCLI in Apache Oozie before 5.2.1 allows local users to replace sharelib files during creation. The sharelib creation path stages files in a temporary location without preventing another local process from substituting them before the HDFS copy completes. A low-privileged local account must win the timing race while a more privileged operator creates the sharelib, allowing substituted files to inherit the trust placed in the resulting library.
Summary
What happened
Race condition in OozieSharelibCLI in Apache Oozie before 5.2.1 allows local users to replace sharelib files during creation. The sharelib creation path stages files in a temporary location without preventing another local process from substituting them before the HDFS copy completes. A low-privileged local account must win the timing race while a more privileged operator creates the sharelib, allowing substituted files to inherit the trust placed in the resulting library.
The record
- CVE
- CVE-2020-35451
- Published
- Mar 9, 2021
- Updated
- Feb 13, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache Oozie
- Classifications
- CWE-362, CWE-377, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 9, 2021CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <5.2.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo