7.5high
LiveQuery publishes user session tokens
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.25% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7pr3-p5fm-8r9xBIT-PARSE-2021-41109
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to version 4.10.4, for regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the `Parse.User` class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload. A patch in version 4.10.4 removes session tokens from the LiveQuery payload. As a workaround, set `user.acl(new Parse.ACL())` in a beforeSave trigger to make the user private already on sign-up.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parse-community parse-server | < 4.10.4 | CVE List |
| parse-server (npm) | before 4.10.4 | GitHub Advisory Database |
| parseplatform parse-server | before 4.10.4 | NVD |
| parse (Bitnami) | before 4.10.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to version 4.10.4, for regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the `Parse.User` class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload. A patch in version 4.10.4 removes session tokens from the LiveQuery payload. As a workaround, set `user.acl(new Parse.ACL())` in a beforeSave trigger to make the user private already on sign-up.
GitHub Advisory Database
Impact
For regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the Parse.User class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload.
Patches
Remove session token from LiveQuery payload.
Workaround
Set user.acl(new Parse.ACL()) in a beforeSave trigger to make the user private already on sign-up.
NVD (es)
Parse Server es un backend de código abierto que puede ser desplegado en cualquier infraestructura que pueda ejecutar Node.js. Anterior a versión 4.10.4, para las consultas normales (no LiveQuery), el token de sesión se eliminaba de la respuesta, pero para las cargas útiles de LiveQuery actualmente no. Si un usuario presenta una suscripción a LiveQuery en la clase "Parse.User", todos los tokens de sesión creados durante el registro del usuario serán emitidos como parte de la carga útil de LiveQuery. Un parche en la versión 4.10.4 elimina los tokens de sesión de la carga útil de LiveQuery. Como solución, establezca "user.acl(new Parse.ACL())" en un desencadenador beforeSave para que el usuario sea privado ya en el momento del registro
References
| https://github.com/parse-community/parse-server/security/advisories/GHSA-7pr3-p5fm-8r9x | advisory, mitigation, third-party-advisory, web | |
| https://github.com/parse-community/parse-server/commit/4ac4b7f71002ed4fbedbb901db1f6ed1e9ac5559 | advisory, patch, third-party-advisory, web | |
| https://github.com/parse-community/parse-server/releases/tag/4.10.4 | advisory, release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-41109 | advisory, web | |
| https://github.com/parse-community/parse-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41109 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7pr3-p5fm-8r9x changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-41109 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PARSE-2021-41109 changed 2026-09-08 | Apache-2.0 |