CVE-2017-7669 Apache Hadoop's LinuxContainerExecutor runs docker commands as root with insufficient input validation
Authenticated users can execute arbitrary commands as root via insufficient input validation in LinuxContainerExecutor when the Docker feature is enabled.
- 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-2017-7669?
CVE-2017-7669 is a high-severity command injection vulnerability in Apache Hadoop, published on 2 Jun 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Apache Hadoop 2.8.0, 3.0.0-alpha1, and 3.0.0-alpha2, the LinuxContainerExecutor runs docker commands as root with insufficient input validation. When the docker feature is enabled, authenticated users can run commands as root.
Weakness: CWE-20
Which versions are affected by CVE-2017-7669?
4 open source packages ship an affected version, including org.apache.hadoop:hadoop-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.hadoop:hadoop-common Maven | All versions | 2.8.1 |
org.apache.hadoop:hadoop-common Maven | All versions | 2.8.1 |
org.apache.hadoop:hadoop-common Maven | From 3.0.0-alpha1 | 3.0.0-alpha3 |
org.apache.hadoop:hadoop-common Maven | From 3.0.0-alpha1 | 3.0.0-alpha3 |
Products include Apache Hadoop.
How do I fix CVE-2017-7669?
Upgrade org.apache.hadoop:hadoop-common to a fixed version for your release line: 2.8.1 or 3.0.0-alpha3.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2017-7669 being exploited?
There is no known exploitation of CVE-2017-7669 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-h24p-qwf4-84q8.