Skip to content
Heist/ feed
Back to feed
High

Apache StreamPark (incubating): maven build params could trigger remote command execution

Type: advisorySources: OSV

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. Mitigation: all users should upgrade to 2.1.4 Background info: Log 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. In the latest version, the special symbol ` is intercepted.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-29737
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:08 UTC · Revision 1

Source evidence

Apache StreamPark (incubating): maven build params could trigger remote command execution

core-osv · Original source

Published 17 Jul 2024, 08:21 UTC

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. Mitigation: all users should upgrade to 2.1.4 Background info: Log 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. In the latest version, the special symbol ` is intercepted.

osv:CVE-2024-29737
Complete source record
{
  "id": "41ace0729a1726e0fd5a63f8d2ab8aeb858725509c8e9cbf154b94bb3ab4964f",
  "url": "https://osv.dev/vulnerability/CVE-2024-29737",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache StreamPark (incubating): maven build params could trigger remote command execution",
    "summary": "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. Mitigation: all users should upgrade to 2.1.4 Background info: Log 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. In the latest version, the special symbol ` is intercepted.",
    "evidence": "osv:CVE-2024-29737",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-29737",
      "aliases": [
        "CVE-2024-29737",
        "GHSA-5v69-92vw-fmjh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/streampark",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6788ebae61d2f6d5122572229ce0a3a2555cc46d"
                },
                {
                  "fixed": "c3c468c9192dd87b4ae430a41735bde7a391dfba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.4-rc1",
            "v2.1.3-rc1",
            "v2.1.3",
            "v2.1.2-rc4",
            "v2.1.2",
            "v2.1.2-rc3",
            "v2.1.2-rc2",
            "v2.1.2-rc1",
            "v2.1.1-rc1",
            "v2.1.1",
            "v2.1.0-rc1",
            "v2.1.0",
            "v2.0.0-rc7",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29737.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.956311678Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29737.json",
        "https://lists.apache.org/thread/xhx7jt1t24s6d7o435wxng8t0ojfbfh5",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-29737"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "fixed": "2.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29737.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-29737",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503465,
  "published_at": "2024-07-17T08:21:12.035+00:00"
}