Skip to content

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

Merged
jeffschwMSFT merged 1 commit into
release/6.0from
backport/pr-57598-to-release/6.0
Aug 18, 2021
Merged

[release/6.0] Throw on invalid payload length in WebSockets#57636
jeffschwMSFT merged 1 commit into
release/6.0from
backport/pr-57598-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 18, 2021

Copy link
Copy Markdown
Contributor

Backport of #57598 to release/6.0

/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

@ghostghost added the area-System.Net label Aug 18, 2021
@ghost

Copy link
Copy Markdown

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

/cc @CarnaViire

Customer Impact

Testing

Risk

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

area-System.Net

Milestone:-

@karelz

karelz commented Aug 18, 2021

Copy link
Copy Markdown
Member

Failures are infra issues, not related to the PR:

Re-running CI just in case ...

@karelzkarelz added this to the 6.0.0 milestone Aug 18, 2021
@karelzkarelz added the Servicing-consider Issue for next servicing release review label Aug 18, 2021

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved. With a green CI we should merge.

@jeffschwMSFT
jeffschwMSFT merged commit 9e56917 into release/6.0Aug 18, 2021
@akoeplinger
akoeplinger deleted the backport/pr-57598-to-release/6.0 branch August 19, 2021 10:03
@ghostghost locked as resolved and limited conversation to collaborators Sep 18, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.NetServicing-considerIssue for next servicing release review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@karelz@jeffschwMSFT@CarnaViire