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: use time-constant comparison for security tokens #12189

Merged
merged 4 commits into from
Jan 29, 2021
Merged

fix: use time-constant comparison for security tokens #12189

merged 4 commits into from
Jan 29, 2021

Conversation

TatuLund
Copy link
Contributor

@TatuLund TatuLund commented Jan 28, 2021

This is the same as #12188, but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.


This change is Reviewable

This is the same as #12188, but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.
@TatuLund
Copy link
Contributor Author

Copy link
Member

@Ansku Ansku left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Ansku Ansku merged commit 885c229 into master Jan 29, 2021
@Ansku Ansku deleted the csrf-fix2 branch January 29, 2021 11:32
Ansku pushed a commit that referenced this pull request Feb 3, 2021
This is the same as #12188,
but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.

Cherry-picked from: vaadin/flow#9896
Ansku added a commit that referenced this pull request Feb 3, 2021
This is the same as #12188,
but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.

Cherry-picked from: vaadin/flow#9896

Authored-by: Tatu Lund <tatu@vaadin.com>
Ansku pushed a commit that referenced this pull request Feb 3, 2021
This is the same as #12190, but also applied for the upload security key
and the push id since both of those are also used to protect against
cross-site attacks. In addition, documentation for the push id is
clarified to point out its role.

Backporting of #12189
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