Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests
影響: go:github.com/labstack/echo/v5 >= 5.0.0, < 5.4.1 → 5.4.1
Echo v5's BodyDump middleware captured a bounded prefix, drained the remaining request body while ignoring read errors, and then replaced the body with the captured prefix. With an outer BodyLimit, an unknown-length request such as an HTTP/1.1 chunked request, and a BodyDump capture limit below the BodyLimit threshold, an overflow detected during that drain could be discarded. The handler could consequently process a truncated request and return success even though the original body exceeded th…
Read on GitHub Advisory Database
| Source | GitHub Advisory Database |
|---|---|
| Fetched | 10/24/2026, 01:50 PM |
| Data | Markdown JSON |
On 10/24/2026, 05:49 AM, GitHub Advisory Database published "Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests" (type: Advisory). Severity is "Medium" (medium). Related technologies: Go, GitHub.