CVE-2017-7669 Apache Hadoop's LinuxContainerExecutor runs docker commands as root with insufficient input validation

High 7.5 Published Updated

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.

PackageAffectedFixed in
org.apache.hadoop:hadoop-common MavenAll versions2.8.1
org.apache.hadoop:hadoop-common MavenAll versions2.8.1
org.apache.hadoop:hadoop-common MavenFrom 3.0.0-alpha13.0.0-alpha3
org.apache.hadoop:hadoop-common MavenFrom 3.0.0-alpha13.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.

Sources

Also known as GHSA-h24p-qwf4-84q8.

Is CVE-2017-7669 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free