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: authentication adapter app ID validation may be circumvented #8185

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

mtrezza
Copy link
Member

@mtrezza mtrezza commented Sep 20, 2022

@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 20, 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 20, 2022

Codecov Report

Base: 84.99% // Head: 94.17% // Increases project coverage by +9.17% 🎉

Coverage data is based on head (bc1a8a1) compared to base (6d0b2f5).
Patch coverage: 70.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           release    #8185      +/-   ##
===========================================
+ Coverage    84.99%   94.17%   +9.17%     
===========================================
  Files          182      182              
  Lines        13674    13676       +2     
===========================================
+ Hits         11622    12879    +1257     
+ Misses        2052      797    -1255     
Impacted Files Coverage Δ
src/Adapters/Auth/spotify.js 62.50% <60.00%> (-17.50%) ⬇️
src/Adapters/Auth/facebook.js 90.62% <80.00%> (-1.44%) ⬇️
src/Controllers/SchemaController.js 97.36% <0.00%> (+0.18%) ⬆️
src/Controllers/DatabaseController.js 93.75% <0.00%> (+0.42%) ⬆️
src/RestWrite.js 94.27% <0.00%> (+0.46%) ⬆️
src/Routers/UsersRouter.js 94.38% <0.00%> (+0.56%) ⬆️
src/Controllers/index.js 97.75% <0.00%> (+1.12%) ⬆️
src/Adapters/Auth/gcenter.js 94.04% <0.00%> (+1.19%) ⬆️
... and 6 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 closed this Sep 20, 2022
@mtrezza mtrezza reopened this Sep 20, 2022
@mtrezza mtrezza changed the title fix: release fix: authentication adapter app ID validation may be circumvented Sep 20, 2022
@mtrezza mtrezza merged commit ecf0814 into parse-community:release Sep 20, 2022
parseplatformorg pushed a commit that referenced this pull request Sep 20, 2022
## [5.2.7](5.2.6...5.2.7) (2022-09-20)

### Bug Fixes

* authentication adapter app ID validation may be circumvented; this fixes a vulnerability that affects configurations which allow users to authenticate using the Parse Server authentication adapter for *Facebook* or *Spotify* and where the server-side authentication adapter configuration `appIds` is set as a string (e.g. `abc`) instead of an array of strings (e.g. `["abc"]`) ([GHSA-r657-33vp-gp22](GHSA-r657-33vp-gp22)) ([#8185](#8185)) ([ecf0814](ecf0814))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants