CVE-2025-54981: Apache StreamPark uses a Weak Encryption Algorithm
CVE-2025-54981 · Severity: high · CVSS 7.5 · Published 2025-12-12
Weak Encryption Algorithm in StreamPark, The use of an AES cipher in ECB mode and a weak random number generator for encrypting sensitive data, including JWT tokens, may have risked exposing sensitive authentication data
This issue affects Apache StreamPark: from 2.0.0 before 2.1.7.
Users are recommended to upgrade to version 2.1.7, which fixes the issue.
Yes. org.apache.streampark:streampark (Maven): upgrade to 2.1.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-54981?
Check whether you run Apache Streampark or org.apache.streampark:streampark (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.streampark:streampark (Maven): upgrade to 2.1.7 or later
# set org.apache.streampark:streampark to 2.1.7 in your pom.xml or build.gradle