http-proxy-middleware@0.22.0-alpha vulnerabilities

The one-liner node.js proxy middleware for connect, express, next.js and more

  • latest version

    3.0.5

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    10 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the http-proxy-middleware package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Check for Unusual or Exceptional Conditions

    Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions in the fixRequestBody() function, which processes certain invalid requests without error. An attacker can manipulate the request body by sending requests that violate the expected structure for bodyParser().

    How to fix Improper Check for Unusual or Exceptional Conditions?

    Upgrade http-proxy-middleware to version 2.0.9, 3.0.5 or higher.

    <2.0.9>=3.0.0-beta.0 <3.0.5
    • M
    Always-Incorrect Control Flow Implementation

    Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation in the fixRequestBody() function. An attacker can cause writeBody to be called multiple times, leading to unexpected behavior.

    How to fix Always-Incorrect Control Flow Implementation?

    Upgrade http-proxy-middleware to version 2.0.8, 3.0.4 or higher.

    <2.0.8>=3.0.0-beta.0 <3.0.4
    • H
    Denial of Service (DoS)

    Affected versions of this package are vulnerable to Denial of Service (DoS) due to an UnhandledPromiseRejection error thrown by micromatch. An attacker could kill the Node.js process and crash the server by making requests to certain paths.

    How to fix Denial of Service (DoS)?

    Upgrade http-proxy-middleware to version 2.0.7, 3.0.3 or higher.

    <2.0.7>=3.0.0 <3.0.3