Untrusted Search Path Affecting org.apache.hadoop:hadoop-yarn-server-nodemanager package, versions [3.3.1,3.3.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHADOOP-7981600
  • published16 Sept 2024
  • disclosed16 Nov 2023
  • creditEsa Hiltunen, Mikko Kortelainen

Introduced: 16 Nov 2023

CVE-2023-26031  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade org.apache.hadoop:hadoop-yarn-server-nodemanager to version 3.3.5 or higher.

Overview

org.apache.hadoop:hadoop-yarn-server-nodemanager is a resource management and job scheduling technology in the open source Hadoop distributed processing framework.

Affected versions of this package are vulnerable to Untrusted Search Path in the linux container-executor binary. An attacker can gain root privileges by exploiting the relative library resolution. If the YARN cluster is accepting work from remote (authenticated) users, this may permit remote users to gain root privileges. The vulnerability allows 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.

Workaround

Ensuring that the owner of the container-executor is not root and the suid bit is not set can prevent privilege escalation.

CVSS Scores

version 3.1