CVE-2018-8029 Privilege escalation vulnerability in Apache Hadoop
A user with yarn privileges can escalate to root and execute arbitrary commands in Apache Hadoop YARN.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-8029?
CVE-2018-8029 is a high-severity vulnerability in Apache Hadoop, published on 30 May 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Apache Hadoop versions 3.0.0-alpha1 to 3.1.0, 2.9.0 to 2.9.1, and 2.2.0 to 2.8.4, a user who can escalate to yarn user can possibly run arbitrary commands as root user.
Which versions are affected by CVE-2018-8029?
6 open source packages ship an affected version, including org.apache.hadoop:hadoop-main. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.hadoop:hadoop-main Maven | From 2.2.0 | 2.8.4 |
org.apache.hadoop:hadoop-main Maven | From 2.2.0 | 2.8.4 |
org.apache.hadoop:hadoop-main Maven | From 2.9.0 | 2.9.2 |
org.apache.hadoop:hadoop-main Maven | From 2.9.0 | 2.9.2 |
org.apache.hadoop:hadoop-main Maven | From 3.0.0 | 3.1.1 |
org.apache.hadoop:hadoop-main Maven | From 3.0.0 | 3.1.1 |
Products include Apache Hadoop.
How do I fix CVE-2018-8029?
Upgrade org.apache.hadoop:hadoop-main to a fixed version for your release line: 2.8.4, 2.9.2 or 3.1.1.
Is CVE-2018-8029 being exploited?
There is no known exploitation of CVE-2018-8029 in the wild and no public exploit code.
Other vulnerabilities in Apache Hadoop
- CVE-2022-25168 Command injection in org.apache.hadoop.fs.FileUtil.unTarUsingTar
- CVE-2021-37404 Heap buffer overflow in libhdfs native library
- CVE-2022-26612 Arbitrary file write in FileUtil#unpackEntries on Windows
- CVE-2019-17195 Improper Check for Unusual or Exceptional Conditions in Connect2id Nimbus JOSE+JWT
- CVE-2017-15718 Exposure of Sensitive Information in Hadoop
Sources
Also known as GHSA-37pw-qw47-4jxm.