jgeraigery / hadoop-555665675

Apache Hadoop
https://hadoop.apache.org/
Apache License 2.0
0 stars 0 forks source link

hadoop-yarn-server-resourcemanager-3.3.1.jar: 2 vulnerabilities (highest severity is: 8.8) - autoclosed #19

Closed mend-for-github-com[bot] closed 4 months ago

mend-for-github-com[bot] commented 10 months ago
Vulnerable Library - hadoop-yarn-server-resourcemanager-3.3.1.jar

Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar

Found in HEAD commit: 470f1f88c503c0d5abfd3273f348b226d6b3cfbc

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (hadoop-yarn-server-resourcemanager version) Remediation Possible** Reachability
CVE-2021-33036 High 8.8 hadoop-yarn-server-resourcemanager-3.3.1.jar Direct 3.3.2
CVE-2021-25642 High 8.8 hadoop-yarn-server-resourcemanager-3.3.1.jar Direct 3.3.4

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-33036 ### Vulnerable Library - hadoop-yarn-server-resourcemanager-3.3.1.jar

Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar

Dependency Hierarchy: - :x: **hadoop-yarn-server-resourcemanager-3.3.1.jar** (Vulnerable Library)

Found in HEAD commit: 470f1f88c503c0d5abfd3273f348b226d6b3cfbc

Found in base branch: hubspot-3.3

### Vulnerability Details

In Apache Hadoop 2.2.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.2, and 3.3.0 to 3.3.1, a user who can escalate to yarn user can possibly run arbitrary commands as root user. Users should upgrade to Apache Hadoop 2.10.2, 3.2.3, 3.3.2 or higher.

Publish Date: 2022-06-15

URL: CVE-2021-33036

### CVSS 3 Score Details (8.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-58jx-f5rf-qgqf

Release Date: 2022-06-15

Fix Resolution: 3.3.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-25642 ### Vulnerable Library - hadoop-yarn-server-resourcemanager-3.3.1.jar

Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar,/home/wss-scanner/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/3.3.1/hadoop-yarn-server-resourcemanager-3.3.1.jar

Dependency Hierarchy: - :x: **hadoop-yarn-server-resourcemanager-3.3.1.jar** (Vulnerable Library)

Found in HEAD commit: 470f1f88c503c0d5abfd3273f348b226d6b3cfbc

Found in base branch: hubspot-3.3

### Vulnerability Details

ZKConfigurationStore which is optionally used by CapacityScheduler of Apache Hadoop YARN deserializes data obtained from ZooKeeper without validation. An attacker having access to ZooKeeper can run arbitrary commands as YARN user by exploiting this. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.4 or later (containing YARN-11126) if ZKConfigurationStore is used.

Publish Date: 2022-08-25

URL: CVE-2021-25642

### CVSS 3 Score Details (8.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150

Release Date: 2022-08-25

Fix Resolution: 3.3.4

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 4 months ago

:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #101