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 #9896

Merged
merged 1 commit into from Jan 28, 2021

Conversation

Legioth
Copy link
Member

@Legioth Legioth commented Jan 27, 2021

This is the same as #9875, 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 is the same as #9875, 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.
@vaadin-bot
Copy link
Collaborator

SonarQube analysis reported 1 issue

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. INFO VaadinSession.java#L77: Do not forget to remove this deprecated code someday. rule

@pleku pleku changed the title use time-constant comparison for security tokens fix: use time-constant comparison for security tokens Jan 28, 2021
@pleku pleku merged commit 088293f into master Jan 28, 2021
@pleku pleku deleted the constantTimeTokenComparison branch January 28, 2021 07:38
This was referenced Jan 28, 2021
taefi pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
taefi pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
pleku pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
pleku pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
taefi pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
vaadin-bot pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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.
taefi pushed a commit that referenced this pull request Jan 28, 2021
This is the same as #9875, 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 commit 088293f)
pleku pushed a commit that referenced this pull request Jan 29, 2021
This is the same as #9875, 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 commit 088293f)
Ansku pushed a commit to vaadin/framework that referenced this pull request Jan 29, 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
tanbt pushed a commit that referenced this pull request Feb 3, 2021
This is the same as #9875, 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.
caalador pushed a commit that referenced this pull request Feb 3, 2021
This is the same as #9875, 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.
Ansku pushed a commit to vaadin/framework 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 to vaadin/framework 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>
tanbt pushed a commit that referenced this pull request Feb 4, 2021
This is the same as #9875, 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.

Co-authored-by: Leif Åstrand <leif@vaadin.com>
tanbt pushed a commit that referenced this pull request Feb 5, 2021
This is the same as #9875, 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.

Co-authored-by: Leif Åstrand <leif@vaadin.com>
@tanbt tanbt added this to the 1.0.14 milestone Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants