- 
                Notifications
    
You must be signed in to change notification settings  - Fork 38.8k
 
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Maksim Kostromin opened SPR-15560 and commented
to reproduce bug, run this service
in a console send curl request:
curl localhost:3000//
or use httpie:
http :3000//
terminal should hangs and fails after timeout
http: error: Request timed out (30s).
I didn't investigate if connections will be opened while all such requests will waiting for theirs timeouts. If so, attackers can easily DDoS these kind of spring 5 apps by sending 65k requests for 30 seconds
posible fix
previous discussion
parent issue
Affects: 5.0 RC1
Issue Links:
- WebFlux handles requests with an illegal Host header inconsistently [SPR-16778] #21318 WebFlux handles requests with an illegal Host header inconsistently
 - Replace many following slashes of client URI with single slash. [SPR-15529] #20088 Replace many following slashes of client URI with single slash. ("supersedes")
 
Referenced from: commits 11075f1
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug