Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Apache StreamPark - CVE-2025-54981

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Apache StreamPark - CVE-2025-54981

Published: December 17, 2025


Vulnerability identifier: #VU120170
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-54981
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise JWT tokens.

The vulnerability exists due to usage of an AES cipher in ECB mode and a weak random number generator for encrypting sensitive data, such as JWT tokens. A remote attacker can decrypt the token and gain unauthorized access to the application. 


Affected software

Apache StreamPark

How to mitigate CVE-2025-54981

Install updates from vendor's website.

Apache StreamPark - update to 2.1.7

External References

Related Security Bulletins