CVE-2025-53960
JSON

5.9medium

Apache StreamPark: Uses the user’s password as the secret key

Severity
5.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-3hg2-rh4r-8qf6

Description

When issuing JSON Web Tokens (JWT), Apache StreamPark directly uses the user's password as the HMAC signing key (e.g., with the HS256 algorithm). An attacker can exploit this vulnerability to perform offline brute-force attacks on the user's password using a captured JWT, or to arbitrarily forge identity tokens for the user if the password is already known, ultimately leading to complete account takeover. 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

Product or packageVersionsReported by
Apache Software Foundation Apache StreamParkfrom 2.0.0 before 2.1.7CVE List
org.apache.streampark:streampark (Maven)from 2.0.0 before 2.1.7GitHub Advisory Database
apache streamparkfrom 2.0.0 before 2.1.7NVD

All scores

CISA-ADP5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub5.9high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-1240

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

When issuing JSON Web Tokens (JWT), Apache StreamPark directly uses the user's password as the HMAC signing key (e.g., with the HS256 algorithm). An attacker can exploit this vulnerability to perform offline brute-force attacks on the user's password using a captured JWT, or to arbitrarily forge identity tokens for the user if the password is already known, ultimately leading to complete account takeover. 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.

GitHub Advisory Database

When encrypting sensitive data, weak encryption keys that are fixed or directly generated based on user passwords are used. Attackers can obtain these keys through methods such as reverse engineering, code leaks, or password guessing, thereby decrypting stored or transmitted encrypted data, leading to the leakage of sensitive information.

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.

NVD (es)

Al emitir JSON Web Tokens (JWT), Apache StreamPark utiliza directamente la contraseña del usuario como clave de firma HMAC (por ejemplo, con el algoritmo HS256). Un atacante puede explotar esta vulnerabilidad para realizar ataques de fuerza bruta offline sobre la contraseña del usuario utilizando un JWT capturado, o para falsificar arbitrariamente tokens de identidad para el usuario si la contraseña ya es conocida, lo que finalmente lleva a una toma de control completa de la cuenta. Este problema afecta a Apache StreamPark: desde la versión 2.0.0 hasta antes de la 2.1.7. Se recomienda a los usuarios actualizar a la versión 2.1.7, que corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-53960 changed 2025-12-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-3hg2-rh4r-8qf6 changed 2025-12-20CC-BY-4.0
NVDCVE-2025-53960 changed 2026-10-07Public domain