GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prevent HTTP pipelining by The-EDev · Pull Request #524 · CrowCpp/Crow

Conversation

@The-EDev

@The-EDev The-EDev commented Aug 21, 2022

Copy link
Copy Markdown
Member

Fixes a potential use-after-free vulnerability where using HTTP pipelining could cause Crow to execute code related to a connection after deleting it.

It also fixes a small bug where websocket connections could be established with invalid HTTP requests (ones that don't have a Host header)

Thanks to hebi Gynvael Coldwind for discovering and reporting the vulnerability.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@The-EDev
Prevent HTTP pipelining which Crow doesn't support.
fba01dc
@The-EDev
The-EDev requested review from dranikpg, luca-schlecker and mrozigor August 21, 2022 18:42
@The-EDev
fixed unit-tests and warnings
0aa3ab9
mrozigor
mrozigor reviewed Aug 22, 2022
View reviewed changes
Comment thread tests/unittest.cpp Resolved

Uh oh!

There was an error while loading. Please reload this page.

@The-EDev
Added unittest for Host header
1e0efb0
@The-EDev
The-EDev requested a review from mrozigor August 22, 2022 19:34
dranikpg
dranikpg approved these changes Aug 22, 2022
View reviewed changes
@The-EDev
The-EDev merged commit 6227114 into master Aug 22, 2022
@gittiver
gittiver deleted the prevent_pipeline branch July 26, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dranikpg dranikpg dranikpg approved these changes
@luca-schlecker luca-schlecker Awaiting requested review from luca-schlecker
@mrozigor mrozigor Awaiting requested review from mrozigor

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@The-EDev @mrozigor @dranikpg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.