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

[release/6.0-rc1] Throw on invalid payload length in WebSockets #57635

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 18, 2021

Backport of #57598 to release/6.0-rc1

/cc @CarnaViire

Port of 9eb5680

Customer Impact

Avoid integer overflow to prevent infinite loop in reading from WebSocket. (also complies better with WebSocket RFC)
MSRC 65273 - Prevents DoS attack by sending frames with invalid payload length.

Testing

Unit test included in PR

Risk

Low

@ghost
Copy link

ghost commented Aug 18, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #57598 to release/6.0-rc1

/cc @CarnaViire

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net

Milestone: -

@karelz
Copy link
Member

karelz commented Aug 18, 2021

Test failures are infra issues, unrelated to the PR:

Rerunning tests just in case ...

@jeffschwMSFT jeffschwMSFT merged commit f2b270c into release/6.0-rc1 Aug 18, 2021
@akoeplinger akoeplinger deleted the backport/pr-57598-to-release/6.0-rc1 branch August 19, 2021 10:03
@karelz karelz added this to the 6.0.0 milestone Aug 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants