CVE-2023-30867

Source
https://cve.org/CVERecord?id=CVE-2023-30867
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30867.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30867
Aliases
Published
2023-12-15T13:15:07.223Z
Modified
2026-04-12T03:51:13.572051Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fuzzy search, such as job names, role names, etc. The sql syntax :select * from table where jobName like '%jobName%'. However, the jobName field may receive illegal parameters, leading to SQL injection. This could potentially result in information leakage.

Mitigation:

Users are recommended to upgrade to version 2.1.2, which fixes the issue.

References

Affected packages

Git / github.com/apache/incubator-streampark

Affected ranges

Type
GIT
Repo
https://github.com/apache/incubator-streampark
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.1.2"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.0.0-rc7
v2.1.0
v2.1.0-rc1
v2.1.1
v2.1.1-rc1
v2.1.2-rc1
v2.1.2-rc2
v2.1.2-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30867.json"
vanir_signatures_modified
"2026-04-12T03:51:13Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/apache/incubator-streampark/commit/e662e47418f5b20c9fcbd86939132194ec77e76e",
        "digest": {
            "function_hash": "142451175898494998662816931160104097482",
            "length": 2933.0
        },
        "id": "CVE-2023-30867-0d53d50c",
        "deprecated": false,
        "target": {
            "file": "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/AppBuildPipeServiceImpl.java",
            "function": "prepareJars"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/apache/incubator-streampark/commit/e662e47418f5b20c9fcbd86939132194ec77e76e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "76338922572233697968312917938297382954",
                "138709318156726881422762871284011097771",
                "27563879648865355408394249156762325468",
                "276756420641197340496057301930488851989"
            ]
        },
        "id": "CVE-2023-30867-6fe0607e",
        "deprecated": false,
        "target": {
            "file": ".mvn/wrapper/MavenWrapperHelper.java"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/apache/incubator-streampark/commit/e662e47418f5b20c9fcbd86939132194ec77e76e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "83684661595795697999006364337340042996",
                "115026717400556580559446004849304547706",
                "223349224988443629445506196801140653292"
            ]
        },
        "id": "CVE-2023-30867-b77f72d5",
        "deprecated": false,
        "target": {
            "file": "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/Application.java"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/apache/incubator-streampark/commit/e662e47418f5b20c9fcbd86939132194ec77e76e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "221482226312325498041445107140056883717",
                "278372266637031400425052499766713896755",
                "308184987414297417715884655277634973762",
                "109721080902064859109454280746581917785",
                "189012469814121709474573291634845381484",
                "185791378126076316144918461577924640800",
                "183703384868016294802697228125699927901",
                "80111946271225929203859251249931010589",
                "232357022325168241111651363835470870422",
                "124113731693372171016951822606449010928",
                "55202712916739917845018416590659262026",
                "55505831842791509682681247976222412661"
            ]
        },
        "id": "CVE-2023-30867-cfdacaa8",
        "deprecated": false,
        "target": {
            "file": "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/AppBuildPipeServiceImpl.java"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/apache/incubator-streampark/commit/e662e47418f5b20c9fcbd86939132194ec77e76e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "222464668846439263953617346370995476873",
                "237139840142159621766878769110390273786",
                "287826707287086014929924355203740489487",
                "9730374963767865837527598167335794757"
            ]
        },
        "id": "CVE-2023-30867-dfd4a9d2",
        "deprecated": false,
        "target": {
            "file": "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java"
        }
    }
]