Loading...
Skip to main content

CVE-2022-45802 — Vulnerability in...

CRITICAL

Apache StreamPark Path Traversal vulnerability

Published July 6, 2023Updated October 21, 2024Source: osv

Summary

Streampark allows any users to upload a jar as application, but there is no mandatory verification of the uploaded file type. This means users may upload some high-risk files, and may upload them to any directory. Users of the affected versions should upgrade to Apache StreamPark 2.0.0 or later.

Advisory Timeline

  • First published July 6, 2023 (1194 days ago).
  • Last revised October 21, 2024 — 473 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.streampark:streampark-common_2.12 to 2.0.0 or later
<!-- Update pom.xml dependency version to 2.0.0 for org.apache.streampark:streampark-common_2.12 -->
Maven
Update org.apache.streampark:streampark-common_2.11 to 2.0.0 or later
<!-- Update pom.xml dependency version to 2.0.0 for org.apache.streampark:streampark-common_2.11 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.apache.streampark:streampark-common_2.12
maven
All versions2.0.0
org.apache.streampark:streampark-common_2.11
maven
All versions2.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-22
    Path TraversalMITRE
  • CWE-434
    Unrestricted File UploadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-45802?
Apache StreamPark Path Traversal vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-45802?
CVE-2022-45802 affects org.apache.streampark:streampark-common_2.12 and org.apache.streampark:streampark-common_2.11. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-45802 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6874-289g-f7h7

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies