{"id":"CVE-2024-29737","state":"PUBLISHED","title":"Apache StreamPark (incubating): maven build params could trigger remote command execution","description":"In streampark, the project module integrates Maven's compilation capabilities. The input parameter validation is not strict, 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.4\n\nBackground info:\n\nLog in to Streampark using the default username (e.g. test1, test2, test3) and the default password (streampark). Navigate to the Project module, then add a new project. Enter the git repository address of the project and input `touch /tmp/success_2.1.2` as the \"Build Argument\". Note that there is no verification and interception of the special character \"`\". As a result, you will find that this injection command will be successfully executed after executing the build.\n\nIn the latest version, the special symbol ` is intercepted.","publishedAt":"2024-07-17T08:21:12.035Z","updatedAt":"2025-02-13T17:47:42.503Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache StreamPark (incubating)"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache StreamPark (incubating)","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.1.4","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/xhx7jt1t24s6d7o435wxng8t0ojfbfh5","http://www.openwall.com/lists/oss-security/2024/07/17/2"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/29xxx/CVE-2024-29737.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-29737","state":"PUBLISHED","datePublished":"2024-07-17T08:21:12.035Z","dateUpdated":"2025-02-13T17:47:42.503Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-03-19T14:26:23.388Z"},"containers":{"cna":{"title":"Apache StreamPark (incubating): maven build params could trigger remote command execution","descriptions":[{"lang":"en","value":"In streampark, the project module integrates Maven's compilation capabilities. The input parameter validation is not strict, 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.4\n\nBackground info:\n\nLog in to Streampark using the default username (e.g. test1, test2, test3) and the default password (streampark). Navigate to the Project module, then add a new project. Enter the git repository address of the project and input `touch /tmp/success_2.1.2` as the \"Build Argument\". Note that there is no verification and interception of the special character \"`\". As a result, you will find that this injection command will be successfully executed after executing the build.\n\nIn the latest version, the special symbol ` is intercepted."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache StreamPark (incubating)","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.1.4","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/xhx7jt1t24s6d7o435wxng8t0ojfbfh5","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/17/2"}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2024-07-17T08:25:06.602Z"},"credits":[{"lang":"en","type":"reporter","value":"L0ne1y"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"apache","product":"streampark","defaultStatus":"unknown","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.1.4","versionType":"semver"}],"cpes":["cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-07-18T15:08:55.540743Z","id":"CVE-2024-29737","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-22T15:29:56.839Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/xhx7jt1t24s6d7o435wxng8t0ojfbfh5","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/17/2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:10:55.460Z"}}]}}}