{"id":"CVE-2022-39225","published":"2022-09-23T06:40:07Z","modified":"2025-04-23T16:56:23Z","title":"Parse Server subject to Incorrect Resource Transfer Between Spheres","vendor":"parse-community","product":"parse-server","tier":"tail","description":{"text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. In versions prior to 4.10.15, or 5.0.0 and above prior to 5.2.6, a user can write to the session object of another user if the session object ID is known. For example, an attacker can assign the session object to their own user by writing to the `user` field and then read any custom fields of that session object. Note that assigning a session to another user does not usually change the privileges of either of the two users, and a user cannot assign their own session to another user. This issue is patched in version 4.10.15 and above, and 5.2.6 and above. To mitigate this issue in unpatched versions add a `beforeSave` trigger to the `_Session` class and prevent writing if the requesting user is different from the user in the session object.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.43687,"provenance":"source"},"cwes":[{"id":"CWE-669","name":"Incorrect Resource Transfer Between Spheres"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-6w4q-23cf-j9jp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":8.74},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"parse-community","affectedVersions":[{"vendor":"parse-community","product":"parse-server","versions":["< 4.10.15",">= 5.0.0, < 5.2.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:57:18.694860Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"parse-server","vulnerableRanges":["<4.10.15",">=5.0.0, <5.2.6"],"patched":["4.10.15","5.2.6"],"from":["GHSA-6w4q-23cf-j9jp"],"provenance":"source"}],"summary":{"text":"Parse Server, an open source Node.js backend, contains an incorrect resource transfer flaw in how it handles session objects, affecting versions before 4.10.15 and 5.0.0 through 5.2.6 prior to 5.2.6. An authenticated user with network access can write to another user's session object, provided they know its object ID, by setting the user field to reassign the session to their own account and then read any custom fields stored on it; no user interaction is required, and the attack is limited in impact because reassigning a session usually does not change either user's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:41Z"},"euvd":{"id":"EUVD-2022-6723","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-31089","published":"2022-06-27","fixed":"5.2.3","kev":false},{"cve":"CVE-2022-31112","published":"2022-06-30","fixed":"5.2.4","kev":false},{"cve":"CVE-2022-36079","published":"2022-09-07","fixed":"5.2.5","kev":false,"link":{"from":"CVE-2022-36079","to":"CVE-2022-39225","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"4.10.14","toFixed":"4.10.15","daysApart":16},{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"5.2.5","toFixed":"5.2.6","daysApart":16}]}},{"cve":"CVE-2022-39225","published":"2022-09-23","fixed":"5.2.6","kev":false},{"cve":"CVE-2022-39231","published":"2022-09-23","fixed":"5.2.7","kev":false,"link":{"from":"CVE-2022-39225","to":"CVE-2022-39231","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"4.10.15","toFixed":"4.10.16","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:parse-server","fromFixed":"5.2.6","toFixed":"5.2.7","daysApart":0}]}},{"cve":"CVE-2022-39313","published":"2022-10-24","fixed":"5.2.8","kev":false},{"cve":"CVE-2022-39396","published":"2022-11-10","fixed":"5.3.1","kev":false}],"package":"npm:parse-server"}}