Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: session object properties can be updated by foreign user #8183

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

mtrezza
Copy link
Member

@mtrezza mtrezza commented Sep 19, 2022

@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 19, 2022

Thanks for opening this pull request!

  • ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.

@codecov
Copy link

codecov bot commented Sep 19, 2022

Codecov Report

Base: 93.82% // Head: 84.13% // Decreases project coverage by -9.68% ⚠️

Coverage data is based on head (6ec8396) compared to base (8580a52).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                Coverage Diff                @@
##           release-4.x.x    #8183      +/-   ##
=================================================
- Coverage          93.82%   84.13%   -9.69%     
=================================================
  Files                170      170              
  Lines              12502    12526      +24     
=================================================
- Hits               11730    10539    -1191     
- Misses               772     1987    +1215     
Impacted Files Coverage Δ
src/Controllers/DatabaseController.js 95.17% <100.00%> (-0.04%) ⬇️
src/LiveQuery/ParseCloudCodePublisher.js 100.00% <100.00%> (ø)
src/LiveQuery/ParseLiveQueryServer.js 95.18% <100.00%> (+0.14%) ⬆️
src/RestQuery.js 95.60% <100.00%> (+0.08%) ⬆️
src/RestWrite.js 93.62% <100.00%> (-0.14%) ⬇️
src/Routers/FilesRouter.js 87.60% <100.00%> (+0.53%) ⬆️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 2.42% <0.00%> (-93.52%) ⬇️
src/Adapters/Storage/Postgres/PostgresClient.js 6.66% <0.00%> (-80.00%) ⬇️
src/Controllers/UserController.js 92.68% <0.00%> (-2.44%) ⬇️
src/Controllers/FilesController.js 92.00% <0.00%> (-2.00%) ⬇️
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mtrezza mtrezza changed the title fix: release-4.x.x fix: session object properties can be updated by foreign user Sep 20, 2022
@mtrezza mtrezza merged commit 7ca9ed0 into parse-community:release-4.x.x Sep 20, 2022
parseplatformorg pushed a commit that referenced this pull request Sep 20, 2022
## [4.10.15](4.10.14...4.10.15) (2022-09-20)

### Bug Fixes

* session object properties can be updated by foreign user; this fixes a security vulnerability in which a foreign user can write to the session object of another user if the session object ID is known; the fix prevents writing to foreign session objects ([GHSA-6w4q-23cf-j9jp](GHSA-6w4q-23cf-j9jp)) ([#8183](#8183)) ([7ca9ed0](7ca9ed0))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 4.10.15

@parseplatformorg parseplatformorg added the state:released-4.x.x Released as LTS version label Sep 20, 2022
@parse-github-assistant
Copy link

The label state:released-4.x.x cannot be used here.

@parse-github-assistant parse-github-assistant bot removed the state:released-4.x.x Released as LTS version label Sep 20, 2022
@mtrezza mtrezza deleted the fix-release-4.x.x branch September 20, 2022 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants