Skip to main content

Apache StreamPark CVE-2025-54981

HIGH
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2025-12-12 security@apache.org
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain encrypted JWT/token ciphertext
  2. Exploit
    Analyze AES-ECB patterns and predictable RNG output
  3. Execution
    Recover or forge authentication token
  4. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.apache.streampark:streampark fix: 2.1.7

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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche Apache stream-processing platform, specialist data-engineering footprint
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*
CVE-2025-54947 CRITICAL
9.8 Dec 12

Unauthenticated remote attackers can decrypt sensitive data or forge encrypted tokens in Apache StreamPark 2.0.0 through

CVE-2024-29070 CRITICAL
9.1 Jul 23

On versions before 2.1.4, session is not invalidated after logout. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-29178 HIGH
8.8 Jul 18

On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution

CVE-2025-30001 HIGH
7.3 Oct 10

Incorrect permission assignment in Apache StreamPark 2.1.4 and 2.1.5 causes tasks launched by the platform to execute un

CVE-2023-49898 HIGH
7.2 Dec 15

In streampark, there is a project module that integrates Maven's compilation capability. Rated high severity (CVSS 7.2),

CVE-2024-34457 MEDIUM
6.5 Jul 22

On versions before 2.1.4, after a regular user successfully logs in, they can manually make a request using the authoriz

CVE-2025-53960 MEDIUM
5.9 Dec 12

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

CVE-2024-29120 MEDIUM
5.9 Jul 17

In Streampark (version < 2.1.4), when a user logged in successfully, the Backend service would return "Authorization" as

CVE-2023-30867 MEDIUM
4.9 Dec 15

In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fu

CVE-2024-29737 MEDIUM
4.7 Jul 17

In streampark, the project module integrates Maven's compilation capabilities. Rated medium severity (CVSS 4.7), this vu

CVE-2024-48988 HIGH
7.6 Aug 22

SQL Injection vulnerability in Apache StreamPark.1.4 before 2.1.6. Rated high severity (CVSS 7.6), this vulnerability is

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy