CVE-2012-1574: Hadoop main Apache Hadoop Allows Impersonation Of Vulnerability

MODERATE
Advisory Identifier: GHSA-c6f9-4pmv-m7m6
CWE-287
Published
Advisory Summary

CVE-2012-1574 is a MODERATE apache hadoop allows impersonation of vulnerability (CWE-287: Improper Authentication) affecting Hadoop main libraries in the Maven ecosystem. The issue involves apache hadoop allows impersonation of arbitrary cluster user accounts. Remediation is available by upgrading affected packages to version 0.23.2, 1.0.2.

CVE-2012-1574 at a Glance

CVE Identifier CVE-2012-1574
GHSA Identifier GHSA-c6f9-4pmv-m7m6
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Hadoop main
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-1574

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.

org.apache.hadoop:hadoop-main fixed: 0.23.2
<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-main</artifactId>
    <version>0.23.2</version>
</dependency>
org.apache.hadoop:hadoop-main fixed: 1.0.2
<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-main</artifactId>
    <version>1.0.2</version>
</dependency>
Verify Direct and Transitive Dependencies

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-1574, 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 0.23.2), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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

The Kerberos/MapReduce security functionality in Apache Hadoop 0.20.203.0 through 0.20.205.0, 0.23.x before 0.23.2, and 1.0.x before 1.0.2, as used in Cloudera CDH CDH3u0 through CDH3u2, Cloudera hadoop-0.20-sbin before 0.20.2+923.197, and other products, allows remote authenticated users to impersonate arbitrary cluster user accounts via unspecified vectors.

CVE-2012-1574 Affected Hadoop main Versions

2 component(s)
Fixed Versions:
0.23.21.0.2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.hadoop:hadoop-main
Maven
≥ 0.23
< 0.23.2
0.23.2
org.apache.hadoop:hadoop-main
Maven
≥ 1.0
< 1.0.2
1.0.2

References

Frequently Asked Questions

What is CVE-2012-1574?
CVE-2012-1574 is a security vulnerability in Hadoop main involving Apache Hadoop allows impersonation of arbitrary cluster user accounts under CWE-287: Improper Authentication.
Which Hadoop main versions are affected?
Affected versions include releases prior to 0.23.2, 1.0.2 across affected packages: org.apache.hadoop:hadoop-main.
What version fixes CVE-2012-1574?
Upgrading to 0.23.2, 1.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hadoop-main affected?
Yes, org.apache.hadoop:hadoop-main is affected in releases prior to 0.23.2, 1.0.2. Upgrade your dependency to 0.23.2, 1.0.2 or later.
What CWE is associated with CVE-2012-1574?
CVE-2012-1574 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2012-1574?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.hadoop'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c6f9-4pmv-m7m6",
  "modified" : "2023-08-29T21:08:04Z",
  "published" : "2022-05-17T02:54:07Z",
  "aliases" : [ "CVE-2012-1574" ],
  "summary" : "Apache Hadoop allows impersonation of arbitrary cluster user accounts",
  "details" : "The Kerberos/MapReduce security functionality in Apache Hadoop 0.20.203.0 through 0.20.205.0, 0.23.x before 0.23.2, and 1.0.x before 1.0.2, as used in Cloudera CDH CDH3u0 through CDH3u2, Cloudera hadoop-0.20-sbin before 0.20.2+923.197, and other products, allows remote authenticated users to impersonate arbitrary cluster user accounts via unspecified vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hadoop:hadoop-main"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.23"
      }, {
        "fixed" : "0.23.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hadoop:hadoop-main"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0"
      }, {
        "fixed" : "1.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1574"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/hadoop"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/fulldisclosure/2012/Apr/70"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20120720041621/https://ccp.cloudera.com/display/DOC/Cloudera+Security+Bulletin#ClouderaSecurityBulletin-MapReducewithSecurity"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20151001135054/http://archives.neohapsis.com/archives/bugtraq/2012-04/0051.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20161215212154/https://www.cloudera.com/documentation/other/security-bulletins/topics/csb_topic_1.html#topic_1_0_2"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200229125105/http://www.securityfocus.com/bid/52939"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-29T21:08:04Z",
    "nvd_published_at" : "2012-04-12T10:45:00Z"
  }
}