CVE-2022-45802 Apache StreamPark (incubating): Upload any file to any directory
Attackers can upload arbitrary files to any directory due to missing file type validation, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-45802?
CVE-2022-45802 is a critical vulnerability in Apache StreamPark (incubating), published on 1 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-434
Which versions are affected by CVE-2022-45802?
4 open source packages ship an affected version, including org.apache.streampark:streampark-common_2.11 and org.apache.streampark:streampark-common_2.12. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.streampark:streampark-common_2.11 Maven | All versions | 2.0.0 |
org.apache.streampark:streampark-common_2.11 Maven | All versions | 2.0.0 |
org.apache.streampark:streampark-common_2.12 Maven | All versions | 2.0.0 |
org.apache.streampark:streampark-common_2.12 Maven | All versions | 2.0.0 |
Products include Apache Streampark.
How do I fix CVE-2022-45802?
Upgrade org.apache.streampark:streampark-common_2.11 to 2.0.0 or later.
Is CVE-2022-45802 being exploited?
There is no known exploitation of CVE-2022-45802 in the wild and no public exploit code.
Other vulnerabilities in Apache StreamPark (incubating)
- CVE-2024-29070 Apache StreamPark: session not invalidated after logout
- CVE-2022-46365 Apache StreamPark (incubating): Logic error causing any account reset
- CVE-2024-29178 Apache StreamPark: FreeMarker SSTI RCE Vulnerability
- CVE-2023-52291 Apache StreamPark (incubating): Unchecked maven build params could trigger remote command execution
- CVE-2024-29737 Apache StreamPark (incubating): maven build params could trigger remote command execution
Sources
Also known as GHSA-6874-289g-f7h7.