Plug denial of service in multipart request parsing
elixir-plug plug
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| elixir-plug plug |
| No fix yet |
| elixir-plug plug |
| No fix yet |
Original description
Allocation of Resources Without Limits or Throttling vulnerability in Plug.Parsers.MULTIPART in elixir-plug plug allows an unauthenticated remote attacker to exhaust memory via a multipart request body built from parts without headers, or from header lines without a name and a value. The parser charges the :length limit only with the name and value bytes of each part header and the bytes of each part body. The part delimiter, the header separator, and the line endings cost nothing.