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.0: 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/E:U/U:Green
CVE-ID: CVE-2025-54981
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Apache Foundation
Affected software:
Apache StreamPark
Apache StreamPark
Detailed vulnerability description
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.
How to mitigate CVE-2025-54981
Install updates from vendor's website.