Skip to content

Quick-and-dirty fix for CVE-2023-43669#379

Merged
agalakhov merged 3 commits intomasterfrom
CVE-2023-43669
Sep 23, 2023
Merged

Quick-and-dirty fix for CVE-2023-43669#379
agalakhov merged 3 commits intomasterfrom
CVE-2023-43669

Conversation

@agalakhov
Copy link
Copy Markdown
Member

This adds header limits in order to reject suspicious requests.

It were much better to use single-pass header parsing instead. Unfortunately, httparse does not support it yet and none of its alternatives is mature enough.

Copy link
Copy Markdown
Member

@daniel-abramov daniel-abramov left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this issue! I've left a couple of minor comments, but overall it looks good for a quick fix!

Comment thread src/error.rs
Comment thread src/handshake/machine.rs Outdated
Comment thread src/handshake/machine.rs
Comment thread src/handshake/machine.rs Outdated
Comment thread src/handshake/machine.rs Outdated
Comment thread src/handshake/machine.rs
agalakhov and others added 2 commits September 23, 2023 02:16
Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants