CVE-2022-45802

Source
https://cve.org/CVERecord?id=CVE-2022-45802
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45802.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45802
Aliases
Published
2023-05-01T14:04:57Z
Modified
2026-08-12T13:32:19Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache StreamPark (incubating): Upload any file to any directory
Details

Streampark allows any users to upload a jar as application, but there is no mandatory verification of the uploaded file type, causing users to upload some high-risk files, and may upload them to any directory, Users of the affected versions should upgrade to Apache StreamPark 2.0.0 or later

Database specific
{
    "cna_assigner":  "apache",
    "cwe_ids":  [
        "CWE-434"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45802.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "1.0.0"
                },
                {
                    "fixed":  "2.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/apache/streampark

Affected ranges

Type
GIT
Repo
https://github.com/apache/streampark
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.0.0"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

V1.*
V1.1.1
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.1-beta.1
v1.2.2
v1.2.3
v2.*
v2.0.0-rc1
v2.0.0-rc2
v2.0.0-rc3
v2.0.0-rc4
v2.0.0-rc5
v2.0.0-rc6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45802.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "71656344722943312801849449711893507401",
                "64659150857662134098151502217020028558",
                "262492611120373913243113230441025832054",
                "202110951636850579304562443264749786966"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-45802-56c2a45c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/apache/streampark/commit/6788ebae61d2f6d5122572229ce0a3a2555cc46d",
        "target":  {
            "file":  "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SwaggerConfig.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "321823652206749881358323027347823640346",
            "length":  327
        },
        "id":  "CVE-2022-45802-ef6ff3ca",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/apache/streampark/commit/6788ebae61d2f6d5122572229ce0a3a2555cc46d",
        "target":  {
            "file":  "streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SwaggerConfig.java",
            "function":  "apiInfo"
        }
    }
]
vanir_signatures_modified
"2026-08-12T13:32:19Z"