require-node@1.2.1 vulnerabilities

A node middleware let that browser js code can require node js code which is still running at node server

  • latest version

    2.0.8

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the require-node 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
    • H
    Arbitrary Code Execution

    require-node is a node middleware let that browser js code can require node js code which is still running at node server.

    Affected versions of this package are vulnerable to Arbitrary Code Execution. An attacker is able to execute OS commands in the server through a crafted request body. This is due to improperly sanitising the requests to the require-node endpoint.

    How to fix Arbitrary Code Execution?

    Upgrade require-node to version 1.3.4, 2.0.4 or higher.

    >=1.0.0 <1.3.4>2.0.0 <2.0.4