GHSA-m5h8-2pjw-vg3j
Apache StreamPark Improper Input Validation vulnerability
Quick fix
GHSA-m5h8-2pjw-vg3j — org.apache.streampark:streampark: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.0.0</version> for org.apache.streampark:streamparkDetails
Apache StreamPark 1.0.0 before 2.0.0 When the user successfully logs in, to modify his profile, the username will be passed to the server-layer as a parameter, but not verified whether the user name is the currently logged user and whether the user is legal, This will allow malicious attackers to send any username to modify and reset the account, Users of the affected versions should upgrade to Apache StreamPark 2.0.0 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
1.0.0Fixed in: 2.0.0# pom.xml: bump <version>2.0.0</version> for org.apache.streampark:streamparkReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-46365[ADVISORY]
- https://github.com/apache/incubator-streampark/pull/2123[WEB]
- https://github.com/apache/incubator-streampark/commit/4f39d7f422d7519a3febc2d15d31ed0126d54fbc[WEB]
- https://github.com/apache/incubator-streampark[PACKAGE]
- https://github.com/apache/incubator-streampark/blob/dev/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/controller/UserController.java#L128[WEB]
- https://github.com/apache/incubator-streampark/blob/dev/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/service/impl/UserServiceImpl.java#L149-L162[WEB]
- https://lists.apache.org/thread/f68lcwrp8pcdc4yrbpcm8j7m0f5mjn7h[WEB]
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"]}'