multiparty@3.2.10

multipart/form-data parser which supports streaming

  • latest version

    4.3.1

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    11 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the multiparty package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Allocation of Resources Without Limits or Throttling

    multiparty is a multipart/form-data parser which supports streaming

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in its part header handling, which bounds accumulated field values and file sizes but places no limit on the size of an individual part's headers. An attacker can exhaust server memory and crash the process with a single request by sending a multipart/form-data body whose part header never terminates. This requires only that the service accept multipart uploads through this parser, and the documented field and file size limits do not constrain the header accumulation.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade multiparty to version 4.3.1 or higher.

    >=2.1.0 <4.3.1
    • H
    Regular Expression Denial of Service (ReDoS)

    multiparty is a multipart/form-data parser which supports streaming

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the Content-Disposition filename parameter parsing. An attacker can cause excessive resource consumption and block the event loop by submitting a multipart upload with a specially crafted long header value that triggers regular expression backtracking.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade multiparty to version 4.3.0 or higher.

    <4.3.0
    • H
    Uncaught Exception

    multiparty is a multipart/form-data parser which supports streaming

    Affected versions of this package are vulnerable to Uncaught Exception through the parsing of multipart/form-data requests containing field names that collide with inherited Object.prototype properties. An attacker can cause the process to crash by sending specially crafted requests that trigger an uncaught exception.

    How to fix Uncaught Exception?

    Upgrade multiparty to version 4.3.0 or higher.

    <4.3.0
    • H
    Improper Handling of Exceptional Conditions

    multiparty is a multipart/form-data parser which supports streaming

    Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions via the filename* parameter parsing in multipart form-data requests. An attacker can cause the process to crash by sending a request with a malformed percent-encoding in the filename* parameter, which triggers an uncaught exception.

    How to fix Improper Handling of Exceptional Conditions?

    Upgrade multiparty to version 4.3.0 or higher.

    <4.3.0