method-override@2.3.5 vulnerabilities

Override HTTP verbs

  • latest version

    3.0.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    7 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the method-override 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
    Regular Expression Denial of Service (ReDoS)

    method-override is a module to override HTTP verbs.

    Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS). It uses regex the following regex / *, */ in order to split HTTP headers. An attacker may send specially crafted input in the X-HTTP-Method-Override header and cause a significant slowdown.

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

    Upgrade method-override to version 2.3.10 or higher.

    >1.0.2 <2.3.10