Advisory

GHSA-crrq-vr9j-fxxh

Also known as: BIT-parse-2022-31112, CVE-2022-31112

Summary

Protected fields exposed via LiveQuery

Details

Impact

Parse Server LiveQuery does not remove protected fields in classes, passing them to the client.

Patches
The LiveQueryController now removes protected fields from the client response.

Workarounds
Use Parse.Cloud.afterLiveQueryEvent to manually remove protected fields.

References

  • https://github.com/parse-community/parse-server/security/advisories/GHSA-crrq-vr9j-fxxh
  • https://github.com/parse-community/parse-server

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-07-06 19:52 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

parse-server

npm · All systems

Affected

  • introduced 0, fixed 4.10.13 (semver)

Fixed versions

4.10.13

Fix

parse-server

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.2.4 (semver)

Fixed versions

5.2.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences