VDB
Sign up
MEDIUM4.9

GHSA-rrcg-jwr5-32g7

Apache StreamPark: Authenticated system users could trigger SQL injection vulnerability

Quick fix

GHSA-rrcg-jwr5-32g7 — org.apache.streampark:streampark: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.1.2</version> for org.apache.streampark:streampark

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.streampark:streampark
Introduced in: 2.0.0Fixed in: 2.1.2
Fix# pom.xml: bump <version>2.1.2</version> for org.apache.streampark:streampark

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.apache.streampark/streampark"]}'