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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache StreamPark | from 2.0.0 before 2.1.7 | CVE List |
| org.apache.streampark:streampark (Maven) | from 2.0.0 before 2.1.7 | GitHub Advisory Database |
| apache streampark | from 2.0.0 before 2.1.7 | NVD |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 5.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS: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
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
| https://lists.apache.org/thread/xlpvfzf5l5m5mfyjwrz5h4dssm3c32vy | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/12/04/1 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-53960 | advisory | |
| https://github.com/apache/streampark/commit/39034db0c806168afa82e58e4f376e1e3c3b73e4 | web | |
| https://github.com/apache/streampark | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-53960 changed 2025-12-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3hg2-rh4r-8qf6 changed 2025-12-20 | CC-BY-4.0 |
| NVD | CVE-2025-53960 changed 2026-10-07 | Public domain |