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…
| 来源 | GitHub Advisory Database |
|---|---|
| 获取时间 | 2026/10/24 13:50 |
| 数据 | Markdown JSON |
2026/10/24 05:49,GitHub Advisory Database 发布了“Echo: BodyDump can discard BodyLimit overflow errors for unknown-length requests”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Go、GitHub。