vlaship / spark-streaming

0 stars 0 forks source link

CVE-2023-1436 (High) detected in jettison-1.1.jar #160

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2023-1436 - High Severity Vulnerability

Vulnerable Library - jettison-1.1.jar

A StAX implementation for JSON.

Path to dependency file: /build.gradle

Path to vulnerable library: /root/.gradle/caches/modules-2/files-2.1/org.codehaus.jettison/jettison/1.1/1a01a2a1218fcf9faa2cc2a6ced025bdea687262/jettison-1.1.jar,/root/.gradle/caches/modules-2/files-2.1/org.codehaus.jettison/jettison/1.1/1a01a2a1218fcf9faa2cc2a6ced025bdea687262/jettison-1.1.jar

Dependency Hierarchy: - spark-streaming_2.11-2.2.0.jar (Root Library) - spark-core_2.11-2.2.0.jar - hadoop-client-2.6.5.jar - hadoop-mapreduce-client-app-2.6.5.jar - hadoop-mapreduce-client-shuffle-2.6.5.jar - hadoop-yarn-server-nodemanager-2.6.5.jar - :x: **jettison-1.1.jar** (Vulnerable Library)

Vulnerability Details

An infinite recursion is triggered in Jettison when constructing a JSONArray from a Collection that contains a self-reference in one of its elements. This leads to a StackOverflowError exception being thrown.

Publish Date: 2023-03-22

URL: CVE-2023-1436

CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-q6g2-g7f3-rr83

Release Date: 2023-03-22

Fix Resolution (org.codehaus.jettison:jettison): 1.5.4

Direct dependency fix Resolution (org.apache.spark:spark-streaming_2.11): 2.2.1


Step up your Open Source Security Game with Mend here