CVE-2023-26031
published 2023-11-16CVE-2023-26031: 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…
PriorityP350high7.5CVSS 3.1
AVNACHPRLUINSUCHIHAH
EPSS
2.09%
79.4th percentile
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 HADOOP_HOME/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 libcrypto.so is located. Thus it is is possible for a user with reduced privileges to install a malicious libcrypto library into a path to which they have write access, invoke the container-executor command, and have their modified library executed as root.
If the YARN cluster is accepting work from remote (authenticated) users, and these users' submitted job are executed in the physical host, rather than a container, then the CVE permits remote users to gain root privileges.
The fix for the vulnerability is to revert the change, which is done in YARN-11441 https://issues.apache.org/jira/browse/YARN-11441 , "Revert YARN-10495". This patch is in hadoop-3.3.5.
To determine whether a version of container-executor is vulnerable, use the readelf command. If the RUNPATH or RPATH value contains the relative path "./lib/native/" then it is at risk
$ readelf -d container-executor|grep 'RUNPATH\|RPATH'
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/:../lib/native/]
If it does not, t
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | hadoop | — | — |
| apache | hadoop | 3.3.1 – 3.3.4 | — |
| apache_software_foundation | apache_hadoop | >= 3.3.1 < 3.3.5 | 3.3.5 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_apache7.5HIGH
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Financial Services Applications Risk Matrix: Reports (Apache Hadoop) — CVE-2023-26031
vendor_oracle·2025-01-15·CVSS 7.5
CVE-2023-26031 [HIGH] Oracle Oracle Financial Services Applications Risk Matrix: Reports (Apache Hadoop) — CVE-2023-26031
Oracle Oracle Financial Services Applications Risk Matrix: Reports (Apache Hadoop) vulnerability
CVE: CVE-2023-26031
CVSS: 7.5
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujan2025 (JAN 2025)
Oracle
Oracle Oracle Financial Services Applications Risk Matrix: Installer (Apache Hadoop) — CVE-2023-26031
vendor_oracle·2024-07-15·CVSS 7.5
CVE-2023-26031 [HIGH] Oracle Oracle Financial Services Applications Risk Matrix: Installer (Apache Hadoop) — CVE-2023-26031
Oracle Oracle Financial Services Applications Risk Matrix: Installer (Apache Hadoop) vulnerability
CVE: CVE-2023-26031
CVSS: 7.5
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujul2024 (JUL 2024)
Red Hat
hadoop-yarn-server-nodemanager: Untrusted search path may lead to privilege escalation via container-executor suid binary
vendor_redhat·2023-11-16·CVSS 7.5
CVE-2023-26031 [HIGH] CWE-426 hadoop-yarn-server-nodemanager: Untrusted search path may lead to privilege escalation via container-executor suid binary
hadoop-yarn-server-nodemanager: Untrusted search path may lead to privilege escalation via container-executor suid binary
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 HADOOP_HOME/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 ru
Apache
Apache hadoop: CVE-2023-26031
vendor_apache·CVSS 7.5
CVE-2023-26031 [HIGH] Apache hadoop: CVE-2023-26031
Apache hadoop: CVE-2023-26031
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 to add a feature for executing user-submitted applications in isolated linux containers. The native binary HADOOP_HOME/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 “make the rpath of container-executor configurable” modified the library loading path for loading .so fi
GHSA
Apache Hadoop allows local user to gain root privileges
ghsa·2023-11-16
CVE-2023-26031 [HIGH] CWE-426 Apache Hadoop allows local user to gain root privileges
Apache Hadoop allows local user to gain root privileges
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 HADOOP_HOME/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
OSV
Apache Hadoop allows local user to gain root privileges
osv·2023-11-16
CVE-2023-26031 [HIGH] Apache Hadoop allows local user to gain root privileges
Apache Hadoop allows local user to gain root privileges
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 HADOOP_HOME/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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://hadoop.apache.org/cve_list.htmlhttps://issues.apache.org/jira/browse/YARN-11441https://lists.apache.org/thread/q9qpdlv952gb4kphpndd5phvl7fkh71rhttps://security.netapp.com/advisory/ntap-20240112-0001/https://hadoop.apache.org/cve_list.htmlhttps://issues.apache.org/jira/browse/YARN-11441https://lists.apache.org/thread/q9qpdlv952gb4kphpndd5phvl7fkh71rhttps://security.netapp.com/advisory/ntap-20240112-0001/
2023-11-16
Published