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 a realtime privacy leakage #661

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Fix a realtime privacy leakage #661

merged 1 commit into from
Jan 26, 2024

Conversation

davidmz
Copy link
Member

@davidmz davidmz commented Jan 26, 2024

Fixed a realtime bug that caused data leakage via the 'post:update' and 'post:destroy' events.

The sample scenario was as follows:

  • UserA subscribed to UserB, UserB subscribed to UserC, UserC is private;
  • UserB likes post of UserC;
  • UserC updates that post.

In this case, the UserA could receive the 'post:update' event with the full content of updated post (which is normally not available to him).

Fixed a realtime bug that caused data leakage via the 'post:update' and 'post:destroy' events.
  
The sample scenario was as follows:
  - UserA subscribed to UserB, UserB subscribed to UserC, UserC is private;
  - UserB likes post of UserC;
  - UserC updates that post. 
  
In this case, the UserA could receive the 'post:update' event with the full content of updated post (which is normally not available to him).
@davidmz davidmz requested review from indeyets and n1313 January 26, 2024 11:05
@davidmz davidmz merged commit edafdb2 into stable Jan 26, 2024
12 checks passed
@davidmz davidmz deleted the fix-realtime-privacy branch January 26, 2024 11:18
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.

1 participant