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 — fix for Security: pre-auth DoS — invalid end() iterator dereference in multipart parser -check for existence of name header before using it by gittiver · Pull Request #1196 · CrowCpp/Crow

Conversation

@gittiver

@gittiver gittiver commented Jun 28, 2026

Copy link
Copy Markdown
Member

check for existence of name header before using it, in case of error-> bad_request

added unittest with missing name header in multipart request

Sorry, something went wrong.

Uh oh!

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

All reactions
@gittiver gittiver linked an issue Jun 28, 2026 that may be closed by this pull request
Security: pre-auth DoS — invalid end() iterator dereference in multipart parser when a part omits the Content-Disposition name parameter (multipart_view.h:233 / multipart.h:200) #1192
Closed
@gittiver
gittiver requested review from The-EDev and mrozigor June 28, 2026 18:20
giacomini
giacomini reviewed Jun 28, 2026
View reviewed changes
Comment thread include/crow/multipart.h Resolved

Uh oh!

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

Comment thread include/crow/multipart.h Resolved

Uh oh!

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

@gittiver
check for existence of name header before using it, in case of error …
ad2b68b
…-> bad_request

added unittest with missing name header in multipart request
@gittiver
gittiver force-pushed the 1192-security-pre-auth-dos-invalid-end-iterator branch from 1050d77 to ad2b68b Compare June 29, 2026 07:02
mrozigor
mrozigor approved these changes Jun 29, 2026
View reviewed changes
@gittiver
gittiver merged commit ba7a5dd into master Jun 29, 2026
20 checks passed

Uh oh!

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

@BrewTestBot BrewTestBot mentioned this pull request Jun 29, 2026
crow 1.3.3 Homebrew/homebrew-core#290418
Merged
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
HarmonybrewBot HarmonybrewBot
!13029 merge bump-crow-1.3.3 into main
08b5292
crow 1.3.3

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>
## What's Changed
The main reason for this release is the following security fix:
* fix for  Security: pre-auth DoS — invalid end() iterator dereference in multipart parser -check for existence of name header before using it by @gittiver in CrowCpp/Crow#1196

Other changes:
* Fix Routing's `methods_` Bitmask Overflow by @DavidPetkovsek in CrowCpp/Crow#1169
* Creates static route for internalPath by @CarloDG80 in CrowCpp/Crow#1147
* Add 2 new fuzzing harnesses by @DavidKorczynski in CrowCpp/Crow#1173
* Add SBOM generation guide by @Xata in CrowCpp/Crow#1172
* added WebDav return Codes to docs by @gittiver in CrowCpp/Crow#1174
* add testcase for injected header, removed executable sample by @gittiver in CrowCpp/Crow#1175
* add App::WebSocketRule_t by @CarloDG80 in CrowCpp/Crow#1156
* Prevent possible integer overflow on multiplication by @gittiver in CrowCpp/Crow#1184
* fix for: Catchall route with return-value handler causes 404 on subsequent requests on a keep-alive connection by @gittiver in CrowCpp/Crow#1183
* Mustache custom template base by @BartelNieuwenhuyse in CrowCpp/Crow#1187
* No trailing zeroes in exponents - see #1042 by @RMRattray in CrowCpp/Crow#1191
* fix for  Security: pre-auth DoS — invalid end() iterator dereference in multipart parser -check for existence of name header before using it by @gittiver in CrowCpp/Crow#1196

## New Contributors
* @DavidKorczynski made their first contribution in CrowCpp/Crow#1173
* @Xata made their first contribution in CrowCpp/Crow#1172
* @BartelNieuwenhuyse made their first contribution in CrowCpp/Crow#1187
* @RMRattray made their first contribution in CrowCpp/Crow#1191

**Full Changelog**: https://github.com/CrowCpp/Crow/compare/v1.3.2...v1.3.3</pre>
  <p>View the full release notes at <a href="https://github.com/CrowCpp/Crow/releases/tag/v1.3.3">https://github.com/CrowCpp/Crow/releases/tag/v1.3.3</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!13029
@nishat-06 nishat-06 mentioned this pull request Sep 30, 2026
check for name header in multipart_view before dereference #1256
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mrozigor mrozigor mrozigor approved these changes
@The-EDev The-EDev Awaiting requested review from The-EDev
+1 more reviewer
@giacomini giacomini giacomini left review comments
Reviewers whose approvals may not affect merge requirements

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.

Security: pre-auth DoS — invalid end() iterator dereference in multipart parser when a part omits the Content-Disposition name parameter (multipart_view.h:233 / multipart.h:200)

Uh oh!

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

3 participants

@gittiver @mrozigor @giacomini
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.