Skip to content

Add option to limit maxParts in multipart payloads #4425

Closed

Description

@devinivy

We have added the option route.option.payload.maxParts, in order to mitigate a DoS vector caused by an unbounded number of parts permitted in multipart payloads. The value of maxParts controls the maximum number of parts permitted in multipart payloads. The latest version of subtext also makes efforts to clean-up any files written during payload processing in the case of a payload processing error. The breaking change here is that the default value for maxParts is 1000, whereas before it was effectively unbounded.

This has been released in 21.3.0 and backported to 20.3.0.

Credit to @das7pad for the thorough report and disclosure.

Activity

  1. added
    featureNew functionality or improvement
    breaking changesChange that can breaking existing code
    securityIssue with security impact
    on Feb 14, 2023
  2. added this to the 21.3.0 milestone on Feb 14, 2023
  3. changed the title [-]Add option to limit maxParts in maultipart payloads[/-] [+]Add option to limit maxParts in multipart payloads[/+] on Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changesChange that can breaking existing codefeatureNew functionality or improvementsecurityIssue with security impact

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions