Uncontrolled Resource Consumption
CVE-2026-52880
Summary
The Klever seednode REST API starts a Gin engine with `Engine.Run(restAPIInterface)`. In Gin v1.9.1, `Engine.Run` calls Go's default `http.ListenAndServe`, which constructs an HTTP server without application-level `ReadHeaderTimeout`, `ReadTimeout`, or `MaxHeaderBytes` limits. An unauthenticated client that can reach a REST listener bound with Klever's documented '--rest-api-interface :8080' all-interface option can hold incomplete HTTP headers open indefinitely. In a local proof against the real 'cmd/seednode/api.Start' path on 'v1.7.17', 120 slow-header connections caused 20/20 legitimate '/log' probes to fail with 'accept: too many open files'. A fixed control using the same Gin router behind an explicit 'http.Server' with 'ReadHeaderTimeout', 'ReadTimeout', and 'MaxHeaderBytes' retained 0 slow connections and served 20/20 probes. This issue affects Klever versions from 1.7.14 prior to 1.7.18.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-400 - Uncontrolled resource consumption
An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.
References
Advisory Timeline
- Published