Heap-based Buffer Overflow Affecting org.apache.hadoop:hadoop-hdfs-native-client package, versions [,2.10.2)[3.2.0,3.2.3)[3.3.0,3.3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHADOOP-2869368
  • published13 Jun 2022
  • disclosed13 Jun 2022
  • creditIgor Chervatyuk

Introduced: 13 Jun 2022

CVE-2021-37404  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade org.apache.hadoop:hadoop-hdfs-native-client to version 2.10.2, 3.2.3, 3.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the libhdfs native code due to missing validation when opening a file path provided by the user.

CVSS Scores

version 3.1