CVE-2012-2945 Hadoop symlink vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.hadoop:hadoop-main Maven | All versions | 1.0.4 |
org.apache.hadoop:hadoop-main Maven | All versions | 1.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.
Other vulnerabilities in n/a
- CVE-2022-25168 Command injection in org.apache.hadoop.fs.FileUtil.unTarUsingTar
- CVE-2021-37404 Heap buffer overflow in libhdfs native library
- CVE-2022-26612 Arbitrary file write in FileUtil#unpackEntries on Windows
- CVE-2019-17195 Improper Check for Unusual or Exceptional Conditions in Connect2id Nimbus JOSE+JWT
- CVE-2017-15718 Exposure of Sensitive Information in Hadoop
Sources
Also known as GHSA-v5c9-98f7-2h54.