CVE-2018-1296 Exposure of Sensitive Information to an Unauthorized Actor in Hadoop
Attackers can read extended attribute key/value pairs in HDFS by bypassing read permission checks, exposing sensitive metadata.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1296?
CVE-2018-1296 is a high-severity vulnerability in Apache Hadoop, published on 7 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache Hadoop 3.0.0-alpha1 to 3.0.0, 2.9.0, 2.8.0 to 2.8.3, and 2.5.0 to 2.7.5, HDFS exposes extended attribute key/value pairs during listXAttrs, verifying only path-level search access to the directory rather than path-level read permission to the referent.
Weakness: CWE-200
Which versions are affected by CVE-2018-1296?
6 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 | 2.7.6 |
org.apache.hadoop:hadoop-main Maven | All versions | 2.7.6 |
org.apache.hadoop:hadoop-main Maven | From 2.8.0 | 2.8.4 |
org.apache.hadoop:hadoop-main Maven | From 2.8.0 | 2.8.4 |
org.apache.hadoop:hadoop-main Maven | From 2.9.0 | 2.9.1 |
org.apache.hadoop:hadoop-main Maven | From 2.9.0 | 2.9.1 |
Products include Apache Hadoop.
How do I fix CVE-2018-1296?
Upgrade org.apache.hadoop:hadoop-main to a fixed version for your release line: 2.7.6, 2.8.4 or 2.9.1.
Is CVE-2018-1296 being exploited?
There is no known exploitation of CVE-2018-1296 in the wild and no public exploit code.
Other vulnerabilities in Apache Hadoop
- 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-v569-g72v-q434.