CVE-2012-2945 Hadoop symlink vulnerability

High 7.5 Published Updated

An attacker can exploit symlink handling in Hadoop to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-2945?

CVE-2012-2945 is a high-severity path traversal vulnerability in n/a, published on 28 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Hadoop 1.0.3 contains a symlink vulnerability.

Weakness: CWE-59

Which versions are affected by CVE-2012-2945?

2 open source packages ship an affected version, including org.apache.hadoop:hadoop-main. It affects 1 product.

PackageAffectedFixed in
org.apache.hadoop:hadoop-main MavenAll versions1.0.4
org.apache.hadoop:hadoop-main MavenAll versions1.0.4

Products include Apache Hadoop.

How do I fix CVE-2012-2945?

Upgrade org.apache.hadoop:hadoop-main to 1.0.4 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-2945 being exploited?

There is no known exploitation of CVE-2012-2945 in the wild and no public exploit code.

Sources

Also known as GHSA-v5c9-98f7-2h54.

Is CVE-2012-2945 in your software?

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

Check your SBOMs for free