Apache StreamPark
CVE-2025-54981
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain encrypted JWT/token ciphertext
-
ExploitAnalyze AES-ECB patterns and predictable RNG output
-
ExecutionRecover or forge authentication token
-
ImpactAccess sensitive authentication data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
|
| Exploitation Conditions | Exploitation requires that the attacker can obtain the sensitive data encrypted by StreamPark - specifically JWT tokens and other authentication data protected using AES in ECB mode with a weak random number generator - in any StreamPark deployment from 2.0.0 up to (but not including) 2.1.7. The core prerequisite is access to the encrypted artifacts (e.g., intercepted or exfiltrated token ciphertext); the weakness then enables recovery or prediction of plaintext/tokens due to ECB's deterministic block mapping and insufficient RNG entropy. Limiting factors: there is no observed active exploitation, no public exploit, and practical attacks hinge on first acquiring the ciphertext and performing cryptographic effort, so the vendor's AC:L/PR:N rating overstates ease. Upgrading to 2.1.7 remediates the condition entirely. |
| Impact | Signals are mixed and lean toward lower real-world urgency than the 7.5 (HIGH) base score alone suggests. The vendor CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) frames this as a remote, unauthenticated, low-complexity confidentiality breach, but that framing is generous for a cryptographic weakness: exploiting AES-ECB and a weak RNG realistically requires an attacker to first obtain the encrypted artifacts (e.g., stored or transmitted JWT ciphertext) and then perform cryptanalysis or token prediction, which is not the trivial AC:L the vector implies. EPSS is low at 0.24% (14th percentile), and there is no CISA KEV listing and no public exploit identified - consistent with no public exploit identified at time of analysis. There is no evidence of active exploitation; the issue is a vendor-discovered design weakness (reported by security@apache.org) rather than an observed attack. Net: this is a legitimate cryptographic hygiene defect worth patching, but it is a 'high-CVSS, lower-real-risk' case rather than an emergency - prioritize it on a normal patch cadence unless the deployment exposes encrypted JWTs to untrusted parties. Note the conflict: CVSS AC:L versus the cryptanalysis effort actually needed - treat AC:L as optimistic. |
| Exploit ScenarioDerived | An attacker who can capture or access StreamPark-issued JWT tokens or other sensitive data encrypted with AES in ECB mode exploits the deterministic ECB structure and the predictable weak random number generator to recover or forge authentication material, then reuses it to impersonate a legitimate user. No public exploit code is known, and success depends on the attacker first gaining access to the ciphertext, so this is opportunistic rather than point-and-click. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Apache StreamPark 2.0.0 through 2.1.6 encrypts sensitive authentication material, including JWT tokens, using AES in ECB mode backed by a weak random number generator, so an attacker who obtains the resulting ciphertext can recover or predict the underlying tokens and thereby hijack sessions or authenticate as other users. The flaw is remotely reachable with no credentials required (CVSS PR:N), but practical exploitation also hinges on first acquiring the encrypted artifacts, so the vendor's 7.5 (HIGH) rating likely overstates real-world ease - the independent assessment rates it AC:H, and there is no public exploit and no observed active exploitation, with EPSS a low 0.24% (14th percentile). Upgrading to 2.1.7 removes the weak cryptographic scheme entirely.
RemediationAI
Vendor-released patch: upgrade to Apache StreamPark 2.1.7, which fixes the weak AES-ECB/weak-RNG scheme for the entire 2.0.0-to-before-2.1.7 range (advisory: https://lists.apache.org/thread/9rbvdvwg5fdhzjdgyrholgso53r26998; also http://www.openwall.com/lists/oss-security/2025/12/12/4). Until the upgrade is applied, assume any JWT or session material issued by an affected instance may be recoverable: rotate the JWT signing keys and invalidate/reissue all active tokens, restrict network access to StreamPark endpoints and to any storage holding encrypted authentication data (trade-off: reduces remote usability and may break external integrations), and enforce end-to-end TLS to prevent ciphertext interception (note this does not fix the underlying weak crypto but removes the easiest path to obtaining ciphertext). Because exploitation requires possession of the encrypted artifacts, monitor for anomalous token reuse or authentication from unexpected sources as a detection compensating control. With no public exploit and no active exploitation observed, this can follow a normal patch cadence rather than an emergency response.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
StreamPark is Apache's stream-processing development and management platform, and the issue is classified as CWE-327, Use of a Broken or Risky Cryptographic Algorithm. The affected versions apply AES in Electronic Codebook (ECB) mode rather than a randomized or authenticated mode such as CBC with random IVs or GCM. ECB is deterministic: every identical 16-byte plaintext block maps to the same ciphertext block, so repeated or structured token content produces visible ciphertext patterns that let an attacker infer plaintext relationships or reassemble/replay token data. Layering a weak, low-entropy or predictable random number generator on top of that collapses the effective entropy of generated keys, IVs, or token material, making JWT tokens guessable or reproducible. The public CPE entry (cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*) is a broad wildcard that does not pin a version, so defenders must map it against the Apache advisory's stated range of 2.0.0 up to, but not including, 2.1.7.
Know when Streampark gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Remote exploitation is possible without privileges or interaction, but recovering tokens requires access to ciphertext plus cryptanalysis, so AC:H; impact is confidentiality-only (C:H, I:N, A:N).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
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.
Executive ViewAI
Apache StreamPark versions 2.0.0 through 2.1.6 are affected by a high-severity cryptographic flaw that could enable unauthenticated attackers to hijack sessions or impersonate users if they obtain encrypted authentication artifacts. While no public exploit identified at time of analysis, the vulnerability still poses a risk to organizations using these versions, potentially leading to unauthorized access to streaming data and management interfaces. Leadership should prioritize upgrading to version 2.1.7 to eliminate the weakness and protect sensitive systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
More in Streampark
View allUnauthenticated remote attackers can decrypt sensitive data or forge encrypted tokens in Apache StreamPark 2.0.0 through
On versions before 2.1.4, session is not invalidated after logout. Rated critical severity (CVSS 9.1), this vulnerabilit
On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution
Incorrect permission assignment in Apache StreamPark 2.1.4 and 2.1.5 causes tasks launched by the platform to execute un
In streampark, there is a project module that integrates Maven's compilation capability. Rated high severity (CVSS 7.2),
On versions before 2.1.4, after a regular user successfully logs in, they can manually make a request using the authoriz
Apache StreamPark 2.0.0 through 2.1.6 signs JSON Web Tokens using the user's own password as the HMAC (HS256) signing ke
In Streampark (version < 2.1.4), when a user logged in successfully, the Backend service would return "Authorization" as
In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fu
In streampark, the project module integrates Maven's compilation capabilities. Rated medium severity (CVSS 4.7), this vu
SQL Injection vulnerability in Apache StreamPark.1.4 before 2.1.6. Rated high severity (CVSS 7.6), this vulnerability is
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB