require-node@1.3.1 vulnerabilities

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

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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