vetkit.go.http.server-without-timeouts
An HTTP server is started without read timeouts, so slow clients can hold connections open indefinitely (Slowloris denial of service).
Last updated:
Suite: Security
go
An HTTP server is started without read timeouts, so slow clients can hold connections open indefinitely (Slowloris denial of service).
Category: SECURITY · Engine rule severity: INFO
How to fix it
Build an http.Server with ReadHeaderTimeout (and ReadTimeout / IdleTimeout) instead of calling http.ListenAndServe directly.
References
Source: packages/engine/rules/sast/go.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.