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: destination cache vulnerablity #1770 #1779

Merged
merged 5 commits into from
Nov 8, 2021
Merged

Fix: destination cache vulnerablity #1770 #1779

merged 5 commits into from
Nov 8, 2021

Conversation

jjtang1985
Copy link
Contributor

This PR cherry picks the the commit #1770 and removed some deprecated functions.

@jjtang1985 jjtang1985 marked this pull request as ready for review November 8, 2021 08:26
@@ -26,7 +26,7 @@

## Fixed Issues

-
- [core] Disable destination cache, when the JWT does not contain necessary information. For example, when using `IsolationStrategy.Tenant_User`, the JWT has to contain both tenant id and user id.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I forgot to put my sentence there from #1769. Could you add it?

@FrankEssenberger
Copy link
Contributor

@jjtang1985 could you merge master. Then a few tests should fail, because I adjusted the service keys not containing the user_id (to reproduce the error), but only your change do avoid the cache beeing used in this case.

@FrankEssenberger
Copy link
Contributor

Remarks are added => approved.

@marikaner marikaner merged commit 6f0fcb9 into 2.0 Nov 8, 2021
@marikaner marikaner deleted the cherry-pick-1770 branch November 8, 2021 11:06
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.

3 participants