High, CVSS 7.7MavenPublished
Apache Hadoop allows local user to gain root privileges
CVE-2023-26031 · GHSA-94jh-j374-9r3j
- Affected
- Maven org.apache.hadoop:hadoop-yarn-project >= 3.3.1, < 3.3.5
- Fixed in
- 3.3.5· Vendor fix available
- Issue
- Relative library resolution in linux container-executor binary in Apache Hadoop 3.3.1-3.3.4 on Linux allows local user to gain root privileges. If the YARN cluster is accepting work from remote (authenticated) users, this MAY permit remote users to gain root privileges. Hadoop 3.3.0 updated the " YARN Secure Containers https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/SecureContainer.html " to add a feature for executing user-submitted applications in isolated linux containers. The native binary HADOOPHOME/bin/container-executor is used to launch these containers; it must be owned by root and have the suid bit set in order for the YARN processes to run the containers as the specific users submitting the jobs. The patch " YARN-10495 https://issues.apache.org/jira/browse/YARN-10495 . make the rpath of container-executor configurable" modified the library loading path for loading .so files from "$ORIGIN/" to ""$ORIGIN/:../lib/native/". This is the a path through which…
Recommended action: Upgrade to 3.3.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.