org.webjars.npm:form-data@3.0.4

  • latest version

    4.0.5

  • first published

    11 years ago

  • latest version published

    6 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:form-data 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
    • M
    CRLF Injection

    Affected versions of this package are vulnerable to CRLF Injection via the _multiPartHeader function when untrusted input is provided via field or filename to FormData#append. An attacker can inject additional headers or multipart parts by including carriage returns, line feeds, or double quotes in the input. This can allow the modification or addition of form fields visible to downstream parsers.

    How to fix CRLF Injection?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • C
    Predictable Value Range from Previous Values

    Affected versions of this package are vulnerable to Predictable Value Range from Previous Values via the boundary value, which uses Math.random(). An attacker can manipulate HTTP request boundaries by exploiting predictable values, potentially leading to HTTP parameter pollution.

    How to fix Predictable Value Range from Previous Values?

    Upgrade org.webjars.npm:form-data to version 4.0.4 or higher.

    [,4.0.4)