Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] SwitchUser is broken when the User Provider always returns a valid user#34551

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:4.3fromtucksaun:4.3
Nov 24, 2019

Conversation

@tucksaun
Copy link
Contributor

QA
Branch?4.3
Bug fix?yes
New feature?no
Deprecations?no
Ticketsn/a
LicenseMIT
Doc PRn/a

Sincebcfc282, if a UserProvider always returns a valid User object (which can happen in some OAuth workflow), switching user is not possible anymore as we hit theLogicException.

This patch should be safe as the timing-attack prevention is kept.

@fabpot
Copy link
Member

Thank you@tucksaun.

fabpot added a commit that referenced this pull requestNov 24, 2019
…ays returns a valid user (tucksaun)This PR was merged into the 4.3 branch.Discussion----------[Security] SwitchUser is broken when the User Provider always returns a valid user| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | n/a| License       | MIT| Doc PR        | n/aSincebcfc282, if a UserProvider always returns a valid User object (which can happen in some OAuth workflow), switching user is not possible anymore as we hit the `LogicException`.This patch should be safe as the timing-attack prevention is kept.Commits-------2bf6cd2 [Security] Fix SwitchUser is broken when the User Provider always returns a valid user
@fabpotfabpot merged commit2bf6cd2 intosymfony:4.3Nov 24, 2019
This was referencedDec 1, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

6 participants

@tucksaun@fabpot@nicolas-grekas@chalasr@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp