Description
During security testing, 500 concurrent requests caused the server to become unresponsive. There is no rate limiting, connection limiting, or request queuing mechanism.
Impact
- Trivial DoS: a single client can overwhelm the server with concurrent connections
- No
max_connections or backlog configuration exposed
- Actix-web default worker count may be insufficient
Evidence
500 rapid requests: 823 ms
Server still up: no
Proposed fix
- Configure
HttpServer::max_connections() and HttpServer::backlog()
- Add connection-per-IP rate limiting middleware
- Add
MAX_CONNECTIONS and WORKERS environment variables
Severity
High — no protection against DoS.
Labels
Description
During security testing, 500 concurrent requests caused the server to become unresponsive. There is no rate limiting, connection limiting, or request queuing mechanism.
Impact
max_connectionsorbacklogconfiguration exposedEvidence
Proposed fix
HttpServer::max_connections()andHttpServer::backlog()MAX_CONNECTIONSandWORKERSenvironment variablesSeverity
High — no protection against DoS.
Labels