CVE-2017-15713: Hadoop main Hadoop-main Vulnerability
MODERATECVE-2017-15713 is a MODERATE (CVSS 6.5) hadoop-main vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Hadoop main libraries in the Maven ecosystem. The issue involves hadoop-main. Remediation is available by upgrading affected packages to version 2.7.5, 2.8.3.
CVE-2017-15713 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2017-15713
To remediate this vulnerability, upgrade all affected Hadoop main dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-main</artifactId>
<version>2.7.5</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-main</artifactId>
<version>2.8.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.hadoop
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-15713, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.hadoop
Analyze the terminal output to locate any version of Hadoop main in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.hadoop command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Hadoop main, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-15713 Affected Hadoop main Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.hadoop:hadoop-main
|
Maven |
< 2.7.5
|
2.7.5
|
|
org.apache.hadoop:hadoop-main
|
Maven |
≥ 2.8.0
< 2.8.3
|
2.8.3
|
References
Frequently Asked Questions
What is CVE-2017-15713?
Which Hadoop main versions are affected?
What version fixes CVE-2017-15713?
Is hadoop-main affected?
What is the CVSS score of CVE-2017-15713?
What CWE is associated with CVE-2017-15713?
How can I check Maven dependencies for CVE-2017-15713?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3v44-382q-55f4",
"modified" : "2021-08-31T21:30:36Z",
"published" : "2018-12-21T17:50:13Z",
"aliases" : [ "CVE-2017-15713" ],
"summary" : "Moderate severity vulnerability that affects org.apache.hadoop:hadoop-main",
"details" : "Vulnerability in Apache Hadoop 0.23.x, 2.x before 2.7.5, 2.8.x before 2.8.3, and 3.0.0-alpha through 3.0.0-beta1 allows a cluster user to expose private files owned by the user running the MapReduce job history server process. The malicious user can construct a configuration file containing XML directives that reference sensitive files on the MapReduce job history server host.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hadoop:hadoop-main"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hadoop:hadoop-main"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.8.0"
}, {
"fixed" : "2.8.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-15713"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-3v44-382q-55f4"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a790a251ace7213bde9f69777dedb453b1a01a6d18289c14a61d4f91@%3Cgeneral.hadoop.apache.org%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:56:25Z",
"nvd_published_at" : null
}
}