Vulnerability · Published Jun 30, 2022 · Assigned by GitHub_M
CVE-2022-31112Protected fields exposed via LiveQuery in parse-server
High 8.2
In plain English
A high-severity information exposure in parse-server from parse-community. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. In affected versions parse Server LiveQuery does not remove protected fields in classes, passing them to the client. The LiveQueryController now removes protected fields from the client response. Users are advised to upgrade. Users unable t upgrade should use `Parse.Cloud.afterLiveQueryEvent` to manually remove protected fields.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | parse-server | 4.10.13 | GHSA-crrq-vr9j-fxxh |
| npm | parse-server | 5.2.4 | GHSA-crrq-vr9j-fxxh |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| parse-community | parse-server | < 4.10.13>= 5.0.0, < 5.2.4 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-crrq-vr9j-fxxh x_refsource_CONFIRM
- https://github.com/parse-community/parse-server/issues/8073 x_refsource_MISC
- https://github.com/parse-community/parse-server/pull/8074 x_refsource_MISC
- https://github.com/parse-community/parse-server/commit/309f64ced8700321df056fb3cc97f15007a00df1 x_refsource_MISC
- https://github.com/parse-community/parse-server/commit/9fd4516cde5c742f9f29dd05468b4a43a85639a6 x_refsource_MISC
- https://github.com/parse-community/parse-server/releases/tag/5.2.4 x_refsource_MISC