---
id: CVE-2025-54981
title: "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\n\nThis issue affe…"
summary: "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\n\nThis issue affe…"
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-327
vendor: apache
product: streampark
affected:
  - 'streampark >= 2.0.0, < 2.1.7'
patched:
  - streampark 2.1.7
published: '2025-12-12'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54981'
references:
  - url: 'https://lists.apache.org/thread/9rbvdvwg5fdhzjdgyrholgso53r26998'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/12/12/4'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0024
epssPercentile: 0.13751
ingestedAt: '2026-10-07T20:46:46.905Z'
---

## Overview

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.

## Affected

- `streampark >= 2.0.0, < 2.1.7`

## Remediation

Upgrade past the affected range:

- `streampark 2.1.7`
