Vulnerabilities in pkg:maven/org.apache.hadoop/hadoop-client
PACKAGECVE-2012-3376 is a HIGH client blocktokens not checked vulnerability (General Security Weakness) affecting Hadoop client libraries in the Maven ecosystem. The issue involves client blocktokens not checked in apache hadoop. Remediation is available by upgrading affected packages to version 2.0.1-alpha.
pkg:maven/org.apache.hadoop/hadoop-client
Vulnerability advisories affecting package pkg:maven/org.apache.hadoop/hadoop-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qmh2-h7r6-gm6q | CVE-2012-3376 | HIGH | Client BlockTokens not checked in Apache Hadoop |
| GHSA-q46v-cj5v-hvg6 | CVE-2012-4449 | CRITICAL | Use of a Broken or Risky Cryptographic Algorithm in Apache Hadoop |
| GHSA-jpmf-8cj2-595g | CVE-2014-3627 | MODERATE | Improper Link Resolution Before File Access in Apache Hadoop |
| GHSA-qm7f-r83w-3p46 | CVE-2017-3161 | MODERATE | Improper Neutralization of Input During Web Page Generation in Apache Hadoop |
| GHSA-pr9x-qmp5-j3rr | CVE-2017-3162 | HIGH | Improper Input Validation in Apache Hadoop |
CVE-2012-3376 at a Glance
How to Fix CVE-2012-3376
To remediate this vulnerability, upgrade all affected Hadoop client 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-client</artifactId>
<version>2.0.1-alpha</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-2012-3376, 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 client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.1-alpha), 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 General Security Weakness. In Hadoop client, 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-2012-3376 Affected Hadoop client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.hadoop:hadoop-client
|
Maven |
≥ 2.0.0-alpha
< 2.0.1-alpha
All 1 versions
2.0.0-alpha
|
2.0.1-alpha
|
References
Frequently Asked Questions
What is CVE-2012-3376?
Which Hadoop client versions are affected?
What version fixes CVE-2012-3376?
Is hadoop-client affected?
What CWE is associated with CVE-2012-3376?
How can I check Maven dependencies for CVE-2012-3376?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qmh2-h7r6-gm6q",
"modified" : "2022-07-13T21:25:16Z",
"published" : "2022-05-17T02:54:07Z",
"aliases" : [ "CVE-2012-3376" ],
"summary" : "Client BlockTokens not checked in Apache Hadoop",
"details" : "DataNodes in Apache Hadoop 2.0.0 alpha does not check the BlockTokens of clients when Kerberos is enabled and the DataNode has checked out the same BlockPool twice from a NodeName, which might allow remote clients to read arbitrary blocks, write to blocks to which they only have read access, and have other unspecified impacts.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hadoop:hadoop-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-alpha"
}, {
"fixed" : "2.0.1-alpha"
} ]
} ],
"versions" : [ "2.0.0-alpha" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3376"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/hadoop"
}, {
"type" : "WEB",
"url" : "https://seclists.org/fulldisclosure/2012/Jul/78"
}, {
"type" : "WEB",
"url" : "https://www.cloudera.com/documentation/other/security-bulletins/topics/csb_topic_1.html"
}, {
"type" : "WEB",
"url" : "http://archives.neohapsis.com/archives/bugtraq/2012-07/0049.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-13T21:25:16Z",
"nvd_published_at" : "2012-07-12T19:55:00Z"
}
}